Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

pass prop through route

...

<Link to="/props-through-render">Props through render</Link>
...

<Route exact path="/props-through-render" render={(props) => <PropsPage {...props} title={`Props through render`} />} />
Source by learnwithparam.com #
 
PREVIOUS NEXT
Tagged: #pass #prop #route
ADD COMMENT
Topic
Name
1+9 =