react-router ” Cannot read property ‘push’ of undefined”
i am quite new to react and react-router.
i am quite new to react and react-router.
Developing a React application using React router v4. All worked well until I introduced Redux in my app. Since then on click of links to change route the browser url changes but the component corresponding to the route is not getting loaded. It works well if I comment out Redux code. What could be causing this? Here is my code for routing:
I would like to redirect my url for e.g to ‘/questions/1’ when I only write /questions