GuillaumeCisco / redux-reducers-injector

Dynamically inject reducers in your react reduc app. HMR and SSR compatible.
32 stars 6 forks source link

update readme about react-redux #19

Open stropho opened 3 years ago

stropho commented 3 years ago

As explained in the README file, there is an issue with react-redux@6. This issue is explained in more detail in https://github.com/reduxjs/react-redux/issues/1126 where a codesandbox is also provided. Based on that codesandbox it seems that the issue is resolved in version 7 (you try changing the version in the codesnadbox)

GuillaumeCisco commented 3 years ago

I have an issue making your codesandbox working well. I get the error:

Cannot read property 'count' of undefined

I will give it a try with the version 7 of react-redux, thanks!

stropho commented 3 years ago

Yup, as described in the linked issue there is another codesandbox ( https://codesandbox.io/s/yvw1vmnkrv ) with the same code - the only change is that it uses react-redux@5 v5 - ok v6 - fails v7 - ok