react-query-setup
About react-query-setup
Set up @trpc/tanstack-react-query with createTRPCContext(), TRPCProvider, useTRPC() hook, queryOptions/mutationOptions factories, query invalidation via queryClient.invalidateQueries with queryFilter, and type inference with inferInput/inferOutput.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / trpc/ trpc --skill react-query-setupAfter installing, type/react-query-setupin Claude Code to confirm it loaded.
Comments
Markdown supported