You’ll implement a dynamic task detail page with edit and delete capabilities, plus a “Mark Complete/Incomplete” toggle.
You’ll also add optimistic feedback, modal confirmation, and ensure dashboard and list pages always stay in sync after edits, deletions, and new creations.
Overview
Syllabus
- Unit 1: Task Detail Page Editing
- Exploring the Task Detail Page and Editing Features
- Passing Props to Button and TaskForm Components
- Implementing Data Fetching and Page State Handling
- Implementing Update and Delete Actions
- Unit 2: Delete Confirmation Modal
- Exploring the New Delete Confirmation Modal
- Adding the Delete Modal State and Trigger
- Fetching and Updating the Task Data
- Building the Reusable Modal Component
- Unit 3: Optimistic Status Toggle
- Exploring the Optimistic Status Toggle
- Keeping Pages in Sync with SWR
- Implementing the Optimistic Status Toggle