A basic Todo App built while learning Redux and Redux Toolkit concepts in React.
This project demonstrates how to manage global state using Redux Toolkit with features like adding tasks, deleting tasks, and marking tasks as completed.
- Add new todos
- Delete existing todos
- Mark tasks as done
- Redux Toolkit state management
- React functional components
- Beginner-friendly project structure
- React
- Redux Toolkit
- React Redux
- Vite
- JavaScript
src/
├── components/
│ ├── AddForm.jsx
│ └── Todo.jsx
│
├── features/
│ └── todo/
│ └── todoSlice.js
│
├── app/
│ └── store.js
│
├── App.jsx
└── main.jsxgit clone https://github.com/shanusingh01/redux-todo.gitcd redux-todonpm installnpm run dev- Add Task
- Delete Task
- Mark as Done with line-through effect
This project helped in understanding:
- Redux store
- createSlice()
- configureStore()
- useSelector()
- useDispatch()
- Redux state updates
- Action dispatching
- Global state management
Contributions, suggestions, and improvements are welcome.
If you found this project useful, consider giving it a star on GitHub.