Closed AlexisTercero55 closed 1 year ago
Store setup based on Basic Example recomended pattern.
import { configureStore } from '@reduxjs/toolkit'
import rootReducer from './reducers'
const store = configureStore({ reducer: rootReducer })
// The store now has redux-thunk added and the Redux DevTools Extension is turned on
Reducer for Counter App comes from https://github.com/AlexisTercero55/react-bootstrap-vite-redux/blob/ede5ffaed1fb75065ae7f25535aad5469ad42a01/src/features/counterSlice.js#L27
Test runing for a redux store.
Based on
configureStore
.