What problem does it solve?
Manages typed data stores and fetch lifecycles for React apps by providing a cohesive API for documents, collections, and list queries with built-in caching, persistence, offline support, and real-time updates.
Core Features & Use Cases
- Typed stores: DocumentStore, CollectionStore, and ListQueryStore for structured data lifecycles.
- Auto-fetching hooks, mutations, invalidation, and optimistic updates to keep UI in sync.
- Persistence, offline queueing, and real-time synchronization with multiple tabs.
- Use case: Build a robust client-side data layer that fetches user profiles, lists, and related items with coherent invalidation rules.
Quick Start
Install tsdf in your project and create a store manager with a simple DocumentStore to start fetching data.