What problem does it solve?
Provides a cohesive set of React hooks (useSuspense, useQuery, useCache, useLive, useDLE, useSubscription, useController) to streamline data fetching, caching, and real-time updates, reducing boilerplate and improving consistency across UI layers.
Core Features & Use Cases
- Hook suite: useSuspense, useQuery, useCache, useLive, useDLE, useSubscription, useController for read/write operations, plus DataProvider and AsyncBoundary to structure data flow.
- Programmatic queries and real-time updates: integrate REST, GraphQL, and streaming sources with centralized state and automatic normalization.
- Use Case: building a Todo app that fetches lists/items, subscribes to live changes, and handles optimistic mutations with a shared controller.
Quick Start
Wrap your app with DataProvider and begin fetching data with useSuspense to render TodoResource results.