Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

use params in Class based component

<Route exact path="/details/:id" render={(props) => <DetailsPage globalStore={globalStore} {...props} /> } />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #params #Class #based #component
ADD COMMENT
Topic
Name
6+5 =