Answer the question
In order to leave comments, you need to log in
Which package and package version to use for redux + router?
Hello.
There is such a thing
as react-router-redux
, it is Depricated
further
For your Redux <-> Router syncing needs with React Router 4+, please see one of these libraries instead:
v6.0.0 requires React v16.4.0 and React Redux v6.0. (It does not support React Redux v7.0 yet. We're looking into the compability issue.)
yarn add react-redux
"react-redux": "^7.0.3"
Answer the question
In order to leave comments, you need to log in
1. It is better to do the opposite and not use obsolete packages.
2. yarn add react-redux
installs a stable, recommended version of the package.
Typically, projects do not need to use libraries like react-router-redux or connected-react-router. Throw a couple of lines of code into the store history on your own, if necessary.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question