Deal with nested combineReducers
See original GitHub issueHow can I deal with nestedReducer if I have something like
{
api: {
...apiReducer
},
ui: {
gamesLiked,
channelsLiked,
navBar
}
}
But I want to deal only with ui.gamesLiked
and ui.channelsLiked
Issue Analytics
- State:
- Created 7 years ago
- Reactions:12
- Comments:7 (1 by maintainers)
Top Results From Across the Web
javascript - Nested redux reducers
It is perfectly fine to combine your nested reducers using combineReducers . But there is another pattern which is really handy: nested ......
Read more >Beyond combineReducers
Beyond combineReducers ... The combineReducers utility included with Redux is very useful, but is deliberately limited to handle a single common ...
Read more >Is nested combineReducers a bad or good idea? #738
Can combineReducers be nested or it should be used once to combine all the reducers into one? Is that a bad approach to...
Read more >Redux: Reducer Composition with combineReducers()
Learn how to use combineReducers() utility function to generate a reducer from several other reducers instead of writing it by hand. View code...
Read more >Advanced Reducers in Redux
Nested Reducers · A reducer can care about different action types · A reducer can be split up into multiple reducers yet be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@yantakus @kanekotic https://github.com/actra-development/redux-persist-transform-filter-immutable 😉 I was facing the same issue and added a pull request #5 that was closed (for a good reason, btw) so I kind-of forked it.
Here’s my solution for this: https://github.com/rt2zz/redux-persist/issues/330#issuecomment-298247527