question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deal with nested combineReducers

See original GitHub issue

How 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:open
  • Created 7 years ago
  • Reactions:12
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
actra-gschustercommented, Jun 27, 2017

@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.

0reactions
eladocommented, May 1, 2017
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found