Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to get a parameter from url in react js-Reactjs.

<Route path="/users/:id" render={(props) => <UserPage {...props} />}/> 

this.props.match.params.id
Source by www.appsloveworld.com #
 
PREVIOUS NEXT
Tagged: #How #parameter #url #react
ADD COMMENT
Topic
Name
9+8 =