Skip to content

Instantly share code, notes, and snippets.

@vldvel
Created February 7, 2019 07:03
Show Gist options
  • Save vldvel/1094c3bdd83ef2f9b881ef76f7d427b3 to your computer and use it in GitHub Desktop.
Save vldvel/1094c3bdd83ef2f9b881ef76f7d427b3 to your computer and use it in GitHub Desktop.
add middleware to store
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