Generated React Query hooks — query/mutation hooks, cache management, optimistic updates, and hook patterns. Use when asked to 'use hooks', 'React Query hooks', 'useQuery', 'useMutation', 'cache invalidation', 'optimistic updates', 'generated hooks', or when working with the generated React Query client from @constructive-io/graphql-codegen.
التثبيت
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Generated React Query hooks — query/mutation hooks, cache management, optimistic updates, and hook patterns. Use when asked to 'use hooks', 'React Query hooks', 'useQuery', 'useMutation', 'cache invalidation', 'optimistic updates', 'generated hooks', or when working with the generated React Query client from @constructive-io/graphql-codegen.
metadata
{"author":"constructive-io","version":"1.0.0"}
Constructive Hooks
Generated React Query hooks for Constructive — typed query/mutation hooks with cache management and optimistic updates.
When to Apply
Use this skill when:
Using generated React Query hooks in a React/Next.js app
Configuring the hooks client (endpoint, auth headers)
Implementing cache invalidation and optimistic updates
Understanding the generated hook naming conventions