Open stropho opened 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!
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
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)