Created
April 22, 2020 00:49
-
-
Save kevinhooke/4edf5c6b6afda2ad4c79cc2d67d643a5 to your computer and use it in GitHub Desktop.
react redux : create store with devtools extension
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
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