Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle reducers having child reducers #6

Open
simvisfear opened this issue Sep 4, 2017 · 0 comments
Open

How to handle reducers having child reducers #6

simvisfear opened this issue Sep 4, 2017 · 0 comments

Comments

@simvisfear
Copy link

simvisfear commented Sep 4, 2017

I have been working on chunking, for a big application and have come across a situation where parts of my store have children. (Example shown below)

Store:
{
holidays: {
booking: {},
payment: {},
reprice: {}
},
hotels: {},
flights: {},
}

In the above store part, the holidays itself has a combinereducer() that combines child reducers (booking, payment and reprice).

Can you help me on how to do this with chunking explained here? (how to pass them to components when I call asyncRoute() and how to register them).

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant