Skip to content

Instantly share code, notes, and snippets.

@vincentdesmares
Created March 15, 2016 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vincentdesmares/06ce0b638861cc5a7e0e to your computer and use it in GitHub Desktop.
Save vincentdesmares/06ce0b638861cc5a7e0e to your computer and use it in GitHub Desktop.
Recursive reducers around a main reducer?
combineReducers({
house: wrapReducerProperties(
rooms: wrapReducerProperties({
entities: wrapReducerProperties({
foo:fooReducer,
test:testReducer
},
entitiesReducer)
),
houseReducer
),
....
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment