data-client-react とは?
@data-client/react フックを使用する - useSuspense、useQuery、useCache、useLive、useDLE、useSubscription、フェッチ/ミューテーション用の useController、DataProvider、AsyncBoundary、useLoading、useDebounce ソース: reactive/data-client。
@data-client/react フックを使用する - useSuspense、useQuery、useCache、useLive、useDLE、useSubscription、フェッチ/ミューテーション用の useController、DataProvider、AsyncBoundary、useLoading、useDebounce
コマンドラインで data-client-react AI スキルを開発環境にすばやくインストール
ソース: reactive/data-client。
For API definitions (like TodoResource), apply the skill "data-client-rest".
Prefer using AsyncBoundary for error handling and loading states unless the codebase has a custom AsyncBoundary that already combines Suspense and ErrorBoundary. Its props are fallback, errorComponent, and errorClassName and listen. It can be used to wrap any component that fetches data.
Controller is returned from useController(). It has: ctrl.fetch(), ctrl.fetchIfStale(), ctrl.expireAll(), ctrl.invalidate(), ctrl.invalidateAll(), ctrl.setResponse(), ctrl.set(), ctrl.setError(), ctrl.resetEntireStore(), ctrl.subscribe(), ctrl.unsubscribe().
@data-client/react フックを使用する - useSuspense、useQuery、useCache、useLive、useDLE、useSubscription、フェッチ/ミューテーション用の useController、DataProvider、AsyncBoundary、useLoading、useDebounce ソース: reactive/data-client。
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/reactive/data-client --skill data-client-react@data-client/react フックを使用する - useSuspense、useQuery、useCache、useLive、useDLE、useSubscription、フェッチ/ミューテーション用の useController、DataProvider、AsyncBoundary、useLoading、useDebounce ソース: reactive/data-client。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/reactive/data-client --skill data-client-react インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/reactive/data-client