Closed joshuarichards001 closed 3 months ago
React 19 is not released yet.
With a pre-release version you are the beta tester for the whole ecosystem and will probably have to override this in your package.json
.
There's no reason that react-redux
wouldn't work with React 19, but before React 19 has been released and we tested it with it we can't guarantee that it will work.
Even if it worked with a release candidate now, there's no guarantee that between now and the final React 19 release, something wouldn't get broken.
To put it another way:
So, either use NPM's options to override the installation behavior, or use a better package manager that doesn't yell at you like this :)
Just as a side note I have working PRs migrating to React 19. They will most likely sit in draft until after the stable release of React 19, but they should circumvent the peer dependency issues for the time being.
For Redux-Toolkit:
npm install https://pkg.csb.dev/reduxjs/redux-toolkit/commit/436d29c1/@reduxjs/toolkit
For React-Redux:
npm install https://pkg.csb.dev/reduxjs/react-redux/commit/3271037e/react-redux
I have same problem right now, and searching for answers. but answers not found. Apparently, I will use react 18 as we were before.
Yes, React 19 still has not been released, so we cannot make any claims about being compatible with it.
Hey there, I'm trying out the React Compiler on the React 19 beta but when running
npm install
on the latest@reduxjs/toolkit
I'm gettingCould not resolve dependency
errors. Below is the full error, is this a known problem?