Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
0いいね 22 views回再生

React Todo App in Malayalam Add, Delete & Toggle Todos using Redux Part 3

In this Malayalam React tutorial for beginners, you'll learn Redux Toolkit by building a simple To-Do App from scratch using React.js and Redux Toolkit. Perfect if you're new to React or struggling with Redux integration.

👉 We’ll walk through common mistakes, fix real bugs, and show how to properly use `useDispatch`, `useSelector`, and create custom reducers. This is a step-by-step guide in Malayalam with a real-time code walkthrough and practical explanations.

---

🔍 What You’ll Learn:

✅ Correct use of `Provider` (capital “P”) and naming conventions
✅ How to fix reducer & dispatch issues
✅ Proper use of `useDispatch` & `useSelector`
✅ Adding todos dynamically with Redux state
✅ Writing custom reducers: `toggleCompleted`, `deleteTodo`
✅ Using `.splice()` for deleting array items
✅ Calculating total completed todos using filter
✅ Real-time UI testing with live debugging

---

👨‍💻 Who Should Watch:

Malayalam-speaking React beginners
Students learning Redux Toolkit
New frontend developers learning React state management

---

📦 Tech Stack:

🔹 React.js
🔹 Redux Toolkit
🔹 React Redux (`useDispatch`, `useSelector`)
🔹 Functional Components
🔹 JavaScript (ES6+)

---

📥 *Source Code & Contact:*

🔗 GitHub: [https://github.com/ALINA12345678/todo...](https://github.com/ALINA12345678/todo...)
📧 Email: [alinajob97@gmail.com](mailto:alinajob97@gmail.com)

---

⏱️ Timestamps / Chapters:

```
00:00 - 🔔 Intro & overview of common mistakes
00:12 - 🛠️ Fixing Provider capitalization
00:25 - 🐞 Fixing variable typo (newTodo)
00:34 - ⚠️ Reducer not working? Add dispatch!
00:50 - ⚙️ Using useDispatch and importing actions
01:15 - 🧾 Passing payloads properly
01:43 - ❌ Avoid hardcoded data
02:00 - 💡 Switch to Redux state for todos
02:19 - 🧠 Access todos with useSelector
02:54 - 🧪 Test UI after adding todos
03:15 - ➕ Form to dynamically add todos
03:35 - 🔄 Writing toggleCompleted reducer
04:00 - 🔍 Find todo by ID
04:21 - ✅ Toggle completed state
05:01 - 🖱️ Checkbox logic & onChange fix
06:00 - 🔁 Dispatch toggleCompleted
06:21 - 🧪 Test toggle in UI
06:54 - 🗑️ Writing deleteTodo reducer
07:23 - ✂️ Use .splice() to delete
07:42 - 🧪 Test deletion
08:14 - 🧱 Setup handleDelete
08:36 - 🎯 Link delete with dispatch
09:18 - 📊 Fix completed count (was hardcoded)
09:47 - 🧮 Filter completed todos
10:30 - 🧪 Final test: add, complete, delete
10:47 - 🎉 Wrap-up: full app working!
```

---

📢 *Don’t forget to Like 👍, Comment 💬, and Subscribe 🔔 for more Malayalam tutorials on React, Redux, and Web Development.*

#ReactMalayalam #ReduxToolkitTutorial #ToDoApp #ReactBeginner #MalayalamCoding #ReactRedux #LearnReact #ReduxInMalayalam #FrontendDevelopment #ReactJS2025

コメント