I am duffer when it comes to React-Router component. However I was not able to find explanation of why my components become unmount when I walk through links? And how to prevent it ? In my example I have a component that contains timer and re-render content by I got an error: Here is ReactJS ..
I am adding react router to an existing project. At present a model is passed in to a root component which contains a navigation component for the sub navigation and a main component. The examples of react router I’ve found only have one child component, what is the best way to have multiple child components ..
I have a component at a given route, say app.com/cars/1 I have a sidebar with links to different cars, eg /cars/2, /cars/3 etc. The issue I’m having is when you change links, say go from cars/1 to cars/2, the component doesn’t unmount, and I get componentWillReceiveProps fired. If I go to another page with a ..