Created
March 15, 2016 06:36
-
-
Save vincentdesmares/06ce0b638861cc5a7e0e to your computer and use it in GitHub Desktop.
Recursive reducers around a main reducer?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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