rdc-react
OfficialReact data hooks for fetch, cache, and live.
Authorreactive
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rdc-react Download link: https://github.com/reactive/data-client/archive/main.zip#rdc-react Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.