Skip to content
R

react-query

Guidelines for using React Query for data fetching, caching

by mindrallyFree

#9918in AI Skills
0In stores

Description

Guidelines for using React Query, now called TanStack Query, to fetch, cache and synchronize server data in React applications. The skill te…

Highlights

  • Use React Query for server data and caching
  • Keep client global state in Context and useReducer
  • Handle loading and error states on every query
  • Avoid excessive API calls through caching

Ratings & Reviews

No ratings yet

Be the first to rate react-query.

People also visit

T

tanstack-query-best-practices

TanStack Query (React Query) best practices for data fetching, caching

AI Skills
Get
T

tanstack-query

Powerful asynchronous state management, server-state utilities

AI Skills
Get
T

tanstack-query

Manage server state in React with TanStack Query v5

AI Skills
Get
R

react-expert

Building React 18+ applications in .jsx or .tsx files

AI Skills
Get
R

react-ui-patterns

Modern React UI patterns for loading states, error handling, and data fetching

AI Skills
Get
A

apollographql/apollo-client

Build React applications with Apollo Client 4

AI Skills
Get

react-query FAQ

What does this skill do?

It gives an agent guidelines for fetching, caching and syncing server state in React with React Query, now called TanStack Query.

Which state goes where?

Server data goes in React Query. Client-side global state goes in React Context and useReducer, not in React Query.

Who is it for?

React and TypeScript developers who want an agent to write data-fetching code that follows these conventions.

How do I install it?

Run: npx skills add https://github.com/mindrally/skills --skill react-query

What do the security audits show?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best react-query alternatives?

Popular alternatives to react-query include tanstack-query-best-practices, tanstack-query and tanstack-query. See all react-query alternatives

Developer Stuff

Badges