Is react-redux@8 the recommended upgrade? #1936
|
If we are still stuck on |
Answered by
markerikson
Aug 4, 2022
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 |
1 reply
Answer selected by
yoyo837
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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/reactinstalled in a project, and@types/react@18made a change toprops.childrenthat you need to be ready to deal with.