Created
May 29, 2019 12:56
-
-
Save daverivera/683e1f0c2f5a6ac13d6cb37ab3614ff5 to your computer and use it in GitHub Desktop.
redux-crosstab_indexdb_reducers-index
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
import { combineReducers } from 'redux' | |
import todos from './todos' | |
import visibilityFilter from './visibilityFilter' | |
+import { persistentReducer } from 'redux-pouchdb' | |
const rootReducer = combineReducers({ | |
todos, | |
visibilityFilter | |
}) | |
-export default rootReducer | |
+export default persistentReducer(rootReducer) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment