Task management application built with React, Zustand, Tailwind CSS
MIT License
This is a task management application built with React, Zustand, Tailwind CSS, and Vite. The application allows users to create, update, and manage tasks with features like filtering, sorting, and pagination. The tasks are stored in the browser's localStorage
, ensuring persistence across sessions.
To run this project locally, follow these steps:
git clone https://github.com/JooZef315/digitalhub-task.git
cd digitalhub-task
npm install
npm run dev
The application will be available at http://localhost:5173
Tasks are stored in the browser's localStorage. No backend is required to persist data.
The application implements caching mechanisms to enhance performance:
currentTasks
Caching: The currentTasks
array, which results from pagination, is cached using React's useMemo
hook. This ensures that the tasks are only recalculated when the relevant state, such as the current page or task list, changes.localStorage
, which acts as a cache for task data. This allows tasks to persist across sessions, reducing redundant data fetching.This project is licensed under the MIT License.