microsoft / redux-dynamic-modules

Modularize Redux by dynamically loading reducers and middlewares.
https://redux-dynamic-modules.js.org
MIT License
1.07k stars 116 forks source link

redux sub-store is attached after the mapStateToProps fires #128

Closed sanchitbansal10 closed 4 years ago

sanchitbansal10 commented 4 years ago

@abettadapur https://github.com/microsoft/redux-dynamic-modules/tree/master/packages/counter-example

In the readme its mentioned that the redux sub-store is not available to the children component (at getStateToProps).

Same is happening for me...Is it how its supposed to behave or i am doing something wrong in my code

Thanks..

sanchitbansal10 commented 4 years ago

Ran this locally....the mapStateToProps is getting the initial store data indeed...

Have u faced this problem and did something to fix this this ill help me a lot....

sanchitbansal10 commented 4 years ago

Creating a proper new issue on lines of this