Rebuild the app using React ⚛️

This commit is contained in:
Lucàs
2023-06-16 14:05:45 +02:00
parent e9cfbacd2c
commit 151ad7f2f9
28 changed files with 3816 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
import { configureStore } from '@reduxjs/toolkit'
import todoReducer from "./features/todo/todoSlice.ts"
export const store = configureStore({
reducer: {
todo: todoReducer
},
})
export type RootState = ReturnType<typeof store.getState>
export type AppDispatch = typeof store.dispatch