Last active
April 30, 2017 16:16
-
-
Save jdjkelly/4fa996cc59a8cbfd9031479cd83a7566 to your computer and use it in GitHub Desktop.
redux/createStore.js
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
export default function createStore(reducer, preloadedState, enhancer) { | |
... | |
return { | |
dispatch, | |
subscribe, | |
getState, | |
replaceReducer, | |
[$$observable]: observable | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment