Back to projects

Case study

Task Manager

React task manager with task creation, deletion, priority ordering, persistent local storage, and a light/dark interface.

React · Vite · JavaScript · CSS · Local Storage · React Icons

Problem

The application provides a compact way to capture tasks, maintain their order, and keep the list available after a browser refresh without requiring a backend.

Role

Sole developer — React components, client-side state, local storage persistence, interface styling, and theme behavior.

Stack

  • React
  • Vite
  • JavaScript
  • CSS
  • Local Storage
  • React Icons

Architecture

A Vite-powered React single-page application centers task state in the task-list component. Effects load the saved list on startup and persist changes to localStorage after task mutations. Dedicated handlers add, delete, and move tasks, while a custom hook manages the document theme.

Decisions & trade-offs

  1. localStorage instead of a backend

    Keeps task management instant and dependency-free for a single browser; tasks are not shared across devices or protected by user accounts.

  2. Component-local React state

    Keeps the application easy to follow for a focused interface; shared state tooling would be useful only if additional screens or domains were introduced.

  3. Explicit ordering controls

    Up and down controls make priority changes predictable and keyboard-friendly; drag-and-drop would be faster for larger lists but adds interaction complexity.

Result

Delivered a responsive task workflow that preserves tasks between sessions and supports add, remove, reorder, and theme-toggle actions without a server dependency.