redux, redux-toolkit, react-rrdux

This commit is contained in:
ISA
2024-11-01 06:30:33 +01:00
parent f2143daa51
commit 9c21cd271c
5 changed files with 193 additions and 24 deletions

11
store/store.js Normal file
View File

@@ -0,0 +1,11 @@
// store/store.js
import { configureStore } from "@reduxjs/toolkit";
import variablesReducer from "./variablesSlice";
const store = configureStore({
reducer: {
variables: variablesReducer,
},
});
export default store;