Skip to content

Instantly share code, notes, and snippets.

@pubudu-ranasinghe
Created May 26, 2021 13:24
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 pubudu-ranasinghe/c21ea17830b48aad0969a11e17f346e9 to your computer and use it in GitHub Desktop.
Save pubudu-ranasinghe/c21ea17830b48aad0969a11e17f346e9 to your computer and use it in GitHub Desktop.
redux-in-2021-02
import { configureStore } from '@reduxjs/toolkit'
import userReducer from './reducers/userReducer'
import orderReducer from './reducers/orderReducer'
const store = configureStore({
reducer: {
users: userReducer,
orders: orderReducer
}
})
export default store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment