Created
March 13, 2020 11:23
-
-
Save Djuki/7d360487894249f9daeae075d59171a4 to your computer and use it in GitHub Desktop.
Preloaded state
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
const preloadedState = { | |
repositories: { | |
identityId, | |
branches: [], | |
branchesNextPage: false, | |
} | |
}; | |
let store = createStore(reducers, preloadedState, composeEnhancers(applyMiddleware(epicMiddleware))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment