Skip to main content

Task Store

The useTaskStore holds the cached list of tasks fetched from the local SQLite database. It is a lightweight read-only store populated by the useTasks hook.

State Shape


Data Source

Unlike most stores that receive data from user actions, this store is populated by SQLite queries. The useTasks hook reads from the local_tasks table and updates this store, which the Dashboard commits.tsx screen consumes for rendering.