TanStack Query

2.5k
exceptionlessexceptionless

Data fetching and caching with TanStack Query in Svelte. Query patterns, mutations, cache invalidation, WebSocket-driven updates, and optimistic updates. Keywords: createQuery, createMutation, TanStack Query, query keys, cache invalidation, optimistic updates, refetch, stale time, @exceptionless/fetchclient, WebSocket

193 days ago

tanstack-query

572
jezwebjezweb

Manage server state in React with TanStack Query v5. Covers useMutationState, simplified optimistic updates, throwOnError, network mode (offline/PWA), and infiniteQueryOptions. Use when setting up data fetching, fixing v4→v5 migration errors (object syntax, gcTime, isPending, keepPreviousData), or debugging SSR/hydration issues with streaming server components.

193 days ago

react-query

376
a5c-aia5c-ai

TanStack Query (React Query) patterns for server state management, caching, mutations, optimistic updates, and infinite queries.

193 days ago

convex-realtime

339
Waynesutton Convexskills Convex RealtimeWaynesutton Convexskills Convex Realtime

Patterns for building reactive apps including subscription management, optimistic updates, cache behavior, and paginated queries with cursor-based loading

convexrealtimesubscriptions+2
193 days ago

tanstack-query

241
MadAppGangMadAppGang

Comprehensive TanStack Query v5 patterns for async state management. Covers breaking changes, query key factories, data transformation, mutations, optimistic updates, authentication, testing with MSW, and anti-patterns. Use for all server state management, data fetching, and cache invalidation tasks.

193 days ago

apollo-caching-strategies

98
TheBushidoCollectiveTheBushidoCollective

Use when implementing Apollo caching strategies including cache policies, optimistic UI, cache updates, and normalization.

193 days ago

relay-mutations-patterns

98
TheBushidoCollectiveTheBushidoCollective

Use when relay mutations with optimistic updates, connections, declarative mutations, and error handling.

193 days ago

performance

97
yonatangrossyonatangross

Performance optimization patterns covering Core Web Vitals, React render optimization, lazy loading, image optimization, backend profiling, and LLM inference. Use when improving page speed, debugging slow renders, optimizing bundles, reducing image payload, profiling backend, or deploying LLMs efficiently.

performancecore-web-vitalslcp+18
192 days ago

convex-backend

95
koralliskorallis

Build real-time, reactive backend applications with Convex using TypeScript queries, mutations, and actions with automatic reactivity and optimistic updates. Use when building real-time collaborative applications, implementing reactive data synchronization, writing serverless backend functions, creating queries that auto-update, implementing mutations with transactional guarantees, handling file uploads with Convex storage, implementing authentication with Convex Auth, designing reactive database schemas, or building applications requiring instant data synchronization.

193 days ago

react-server-actions

95
koralliskorallis

Implement React Server Actions in Next.js 14+ for secure, progressively enhanced form handling and server mutations without API routes. Use when handling form submissions, performing server-side mutations, implementing progressive enhancement, creating actions that work without JavaScript, validating data on the server, revalidating cached data after mutations, handling file uploads server-side, implementing optimistic UI updates, or building forms that gracefully degrade without client-side JavaScript.

193 days ago

real-time-collaboration-engine

43
curiositechcuriositech

Build real-time collaborative editing with WebSockets, OT/CRDT conflict resolution, and presence awareness. Implements cursor tracking, optimistic updates, and offline sync. Use for collaborative editors, whiteboards, video editing. Activate on "real-time collaboration", "WebSocket sync", "multiplayer editing", "CRDT", "presence awareness". NOT for simple chat, request-response APIs, or single-user apps.

193 days ago

Convex Realtime

34
powroompowroom

Patterns for building reactive apps including subscription management, optimistic updates, cache behavior, and paginated queries with cursor-based loading

convexrealtimesubscriptions+2
193 days ago

tanstack-query

25
ovachieverovachiever

Manage server state in React using TanStack Query v5. Configure queries with useQuery, handle mutations with useMutation, set up QueryClient caching strategies, perform optimistic updates, and support infinite scrolling with useInfiniteQuery. Use when: implementing data fetching in React applications, migrating from v4 to v5, or resolving v4-specific issues such as required object-syntax errors, removed query callbacks, cacheTime renamed to gcTime, confusion between isPending and isLoading, or removal of keepPreviousData.

193 days ago

tanstack-query

15
bobmatnycbobmatnyc

TanStack Query (React Query) for asynchronous server-state management with automatic caching, background refetching, optimistic updates, and pagination in React applications.

192 days ago

tanstack-query-setup

12
patricio0312revpatricio0312rev

Implements TanStack Query (React Query) for server state management with caching, mutations, optimistic updates, and infinite queries. Use when users request "react query", "tanstack query", "data fetching", "cache management", or "server state".

192 days ago

tanstack-query

12
jgamaraalvjgamaraalv

TanStack Query v5 (React Query) reference for data fetching, caching, and server state management in React. Use when: (1) writing useQuery, useMutation, or useInfiniteQuery hooks, (2) setting up QueryClient and queryOptions, (3) implementing optimistic updates or cache invalidation, (4) configuring SSR/hydration with Next.js App Router or Pages Router, (5) testing React Query hooks, (6) working with TypeScript types, Suspense, or advanced patterns like dependent queries and infinite scroll.

192 days ago

tanstack-query

9
jackspacejackspace

This skill provides comprehensive knowledge for TanStack Query v5 (React Query) server state management in React applications. It should be used when setting up data fetching with useQuery, implementing mutations with useMutation, configuring QueryClient, managing caching strategies, migrating from v4 to v5, implementing optimistic updates, using infinite queries, or encountering query/mutation errors. Use when: initializing TanStack Query in React projects, configuring QueryClient settings, creating custom query hooks, implementing mutations with error handling, setting up optimistic updates, using useInfiniteQuery for pagination, migrating from React Query v4 to v5, debugging stale data issues, fixing caching problems, resolving v5 breaking changes, implementing suspense queries, or setting up query devtools. Keywords: TanStack Query, React Query, useQuery, useMutation, useInfiniteQuery, useSuspenseQuery, QueryClient, QueryClientProvider, data fetching, server state, caching, staleTime, gcTime, query invalidation, prefetching, optimistic updates, mutations, query keys, query functions, error boundaries, suspense, React Query DevTools, v5 migration, v4 to v5, request waterfalls, background refetching, cacheTime renamed, loading status renamed, pending status, initialPageParam required, keepPreviousData removed, placeholderData, query callbacks removed, onSuccess removed, onError removed, object syntax required

192 days ago

react-query

9
TerminalSkillsTerminalSkills

Manage server state in React with TanStack Query. Use when a user asks to fetch data in React, cache API responses, handle loading/error states, implement optimistic updates, or manage server state efficiently.

193 days ago

swr

9
TerminalSkillsTerminalSkills

Fetch, cache, and revalidate data in React with SWR — stale-while-revalidate data fetching library by Vercel. Use when someone asks to "fetch data in React", "SWR", "data fetching hook", "cache API calls", "stale-while- revalidate", "auto-refresh data", or "React data fetching without Redux". Covers data fetching, caching, revalidation, mutation, pagination, and optimistic updates.

193 days ago

TanStack Query

5
Oriolrius Pki Manager Web Tanstack QueryOriolrius Pki Manager Web Tanstack Query

Expert guidance for TanStack Query (React Query) including queries, mutations, caching, invalidation, optimistic updates, pagination, and infinite queries. Use this when managing server state in React applications.

192 days ago

add-optimistic-sync

5
marcglasbergmarcglasberg

Add optimistic sync updates for non-blocking operations where only the final value matters and rapid changes coalesce

192 days ago

UI Interaction

5
Constellos Claude Code Plugins Ui InteractionConstellos Claude Code Plugins Ui Interaction

This skill should be used when the user asks to "add client interactivity", "implement form validation", "add event handlers", "use client state", "add Zod validation", "implement React hooks", "add local state", "make component interactive", "add form with validation", "use React Hook Form", or needs guidance on client-side events, form handling, optimistic updates, or when to add "use client" directive.

192 days ago

add-optimistic-sync-with-push

5
marcglasbergmarcglasberg

Add optimistic sync updates in apps with real-time push (like WebSocket etc) for non-blocking operations where only the final value matters and rapid changes coalesce

192 days ago

add-optimistic-command

5
marcglasbergmarcglasberg

Add optimisticCommand for blocking one-time actions with immediate UI updates and automatic rollback on failure

192 days ago

web-data-fetching-graphql-apollo

agents-incagents-inc

Apollo Client GraphQL patterns - useQuery, useMutation, cache management, optimistic updates, subscriptions

192 days ago