Last active
May 7, 2021 09:49
-
-
Save oliverlin/6526afdf0d985d72ade16493173510a3 to your computer and use it in GitHub Desktop.
code-splitting redux reducers in next.js 1
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
// createStore.js | |
import jobs from 'reducers/jobs' | |
import books from 'reducers/books' | |
const reducers = { | |
jobs, | |
books | |
} | |
const store = createStore(combineReducers(reducers)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment