Skip to content

Is react-redux@8 the recommended upgrade? #1936

Answered by markerikson
yoyo837 asked this question in Q&A
Discussion options

You must be logged in to vote

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 to props.children that you need to be ready to deal with.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yoyo837
Comment options

Answer selected by yoyo837
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants