Demo: [https://drive.google.com/file/d/16ITztmCT1akMsS4YnUVCJHcr2VGNCCkv/view?usp=sharing]
Create a simple todo app using Redux/Redux Toolkit
- Fetch your todo items from [https://dummyjson.com/docs/todos]
- If you get CORS policy errors, I created a Node service with CORS Anywhere to proxy the DummyJSON API url. Example: [https://wmad-a0523-cors.onrender.com/https://dummyjson.com/todos]. Please be careful you don't create infinite loops/requests :(
- Your application must have RUD functionality (Retrieve, Update, Delete). No need for a Create/Add functionality.
- Whenever you UPDATE or DELETE a todo, you MUST send a request to the DummyJSON API then use the response to update the Todo list state.
- Use
createAsyncThunk
for your asynchronous requests (i.e. API calls) - There should be no
useState
hooks
Redux Part 2 - createAsyncThunk (Nov 21) - [https://github.com/elmerdotdev/wmad-a0523-redux-part-2-code-along]