Skip to content

Instantly share code, notes, and snippets.

@kevinhooke
Created April 22, 2020 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinhooke/4edf5c6b6afda2ad4c79cc2d67d643a5 to your computer and use it in GitHub Desktop.
Save kevinhooke/4edf5c6b6afda2ad4c79cc2d67d643a5 to your computer and use it in GitHub Desktop.
react redux : create store with devtools extension
import {createStore} from 'redux';
import yourReducer from '../reducers/yourReducer';
import { composeWithDevTools } from 'redux-devtools-extension'
const store = createStore(yourReducer, composeWithDevTools());
export default store;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment