Created
February 7, 2019 07:03
-
-
Save vldvel/1094c3bdd83ef2f9b881ef76f7d427b3 to your computer and use it in GitHub Desktop.
add middleware to store
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 store = createStore( | |
rootReducer, | |
compose(applyMiddleware(/** other middlewares */, updateMessagesMiddleware)) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment