angular-redux / platform

[Unmaintained] Redux bindings and utilities for Angular
MIT License
140 stars 85 forks source link

Substore with Provide Store doesn't work #110

Open maheshnvv opened 4 years ago

maheshnvv commented 4 years ago

This is a...

What toolchain are you using for transpilation/bundling?

Environment

NodeJS Version: 10.5.2 Typescript Version:3.5.3 Angular Version: 8 @angular-redux/store version: @angular/cli version: (if applicable) OS:Ubuntu

Link to repo showing the issus

(optional, but helps a lot)

Expected Behaviour:

If I configure a store by using an existing redux store via provideStore Method and the @WithSubstore Decorator the sub store should get created and all action should reach new reducer.

Actual Behaviour:

If I configure a store by using an existing redux store via provideStore Method and the @WithSubstore Decorator the sub store is not working, meaning action dispatched is not reaching the reducer and the state is not updated with initial state.

Stack Trace/Error Message:

Additional Notes:

(optional)