Answer the question
In order to leave comments, you need to log in
React Router. Difference between component and render?
When used The docs say that a new component is created for every render.
And what happens in the case of render<Route path="/path" component={MyComponent}/>
<Route path="/path" render={() => <MyComponent/>}/>
?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question