Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Advanced State Management and Persistence

via CodeSignal

Overview

Add data persistence and advanced state operations to your Kanban board. Learn to save state to localStorage with $effect, implement task deletion with confirmation, handle async operations, and add robust form validation—building apps that gracefully handle errors and edge cases.

Syllabus

  • Unit 1: Refactoring the Task Store for Scalability in Svelte
    • Adding Timestamps to Task Objects
    • Adding Timestamps to New Tasks
    • Tracking Task Updates with Timestamps
    • Implementing Task Deletion and Derived States
  • Unit 2: Adding Task Deletion with Confirmation Dialog in Svelte
    • Creating a Basic Delete Button
    • Adding Confirmation to Delete Button
    • Styling the Delete Button Interface
    • Integrating DeleteButton into TaskCard Component
  • Unit 3: Persisting Kanban Tasks with localStorage in Svelte
    • Setting Up Task Persistence with localStorage
    • Loading Tasks with Reactive Effects
    • Saving Tasks with Reactive Effects
  • Unit 4: Adding User Notifications to Your Svelte Kanban Board
    • Tracking Latest Tasks for Notifications
    • Building a Reusable Notification Component
    • Creating a Task Notification Manager
    • Integrating Notifications into Main Application
  • Unit 5: Form Validation and Error Handling in Svelte
    • Setting Up Form Validation State
    • Implementing Form Validation Logic
    • Implementing Form Submission with Error Handling
    • Enhancing Forms with Visual Feedback
    • Creating a Global Error Page

Reviews

Start your review of Advanced State Management and Persistence

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.