Is react-redux@8 the recommended upgrade? #1936
-
If we are still stuck on |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, React-Redux v8 works with any version of React that has hooks (16.8+). If you're on an earlier version of 16.x, you should be able to at least update to the last 16.x release (16.13, I think?) with no problems. The main issue would then be TS types. React-Redux v8 expects to work with |
Beta Was this translation helpful? Give feedback.
Yes, React-Redux v8 works with any version of React that has hooks (16.8+). If you're on an earlier version of 16.x, you should be able to at least update to the last 16.x release (16.13, I think?) with no problems.
The main issue would then be TS types. React-Redux v8 expects to work with
@types/react@18
, and other libraries may not be ready for that. You also need to make sure there's only one version of@types/react
installed in a project, and@types/react@18
made a change toprops.children
that you need to be ready to deal with.