Answer the question
In order to leave comments, you need to log in
Can someone explain what is the difference between React-router-dom and React-router-redux? Can they be used at the same time?
Can someone explain what is the difference between React-router-dom and React-router-redux?
Can they be used at the same time?
Answer the question
In order to leave comments, you need to log in
Connected -react-router is now used instead of react-router-redux . The difference is that the react-router-dom package provides routing (in short, it renders different components depending on the current path), while connected-react-router exposes the router state to redux, allowing you to change the path using asynchronous actions. Those. it follows that connected-react-router is only used in conjunction with react-router-dom, but is only needed in some cases.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question