redux-dynamic-modules
redux-dynamic-modules copied to clipboard
undefined state on first render after dynamicially loading module in react-redux v6
This is an old issue and a fix was done for this. https://github.com/microsoft/redux-dynamic-modules/pull/59
I faced this while working with react-redux v6
Steps to reproduce...Run the Counter example in packages with react-redux v6..On first render you get an undefined state.
@sanchitbansal10 I am facing the same issue. Were you able to find a fix for this?
I am using v5.2.0
@abettadapur @navneet-g Any idea how to fix this?
@footyapps27 hey I had to upgrade my react-redux package.. I can try and raise a PR but no maintainer seems to be around
@sanchitbansal10 Which version of react-redux solved the issue for you?
v7
v7
That's weird. I am using v7 as well, but still getting undefined
on the first load. :/
@footyapps27 You can try running this sample app https://github.com/microsoft/redux-dynamic-modules/tree/master/packages/counter-example
with v6 and v7...It doesn't return undefined for v7 Maybe something else is wrong