Created
May 29, 2019 12:51
-
-
Save daverivera/99391d6628edfcbf2a863072bebabfc0 to your computer and use it in GitHub Desktop.
redux-crosstab_persist_redux-index
This file contains hidden or 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
import { combineReducers } from 'redux' | |
import todos from './todos' | |
import visibilityFilter from './visibilityFilter' | |
+import { withReduxStateSync } from 'redux-state-sync' | |
const rootReducer = combineReducers({ | |
todos, | |
visibilityFilter | |
}) | |
-export default rootReducer | |
+export default withReduxStateSync(rootReducer) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment