LogoClawIndex
CasesSkillsAbout
LogoClawIndex

data-fetching - Data Fetching with TanStack Query

Data fetching with TanStack Query including loading states and error handling

Tags

Updated: 2026-03-23

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • fetch user data
  • update user data
  • cancel queries
  • invalidate queries
  • prefetch queries
  • handle loading states
  • handle error states
  • retry failed queries

Inputs

  • user ID
  • query key
  • query function
  • mutation function
  • filters
  • page parameters

Outputs

  • user data
  • updated user data
  • loading state
  • error message
  • infinite scroll items
  • pagination data

Requirements

  • TanStack Query
  • React
  • API endpoint

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
data fetching
React Query
TanStack Query
caching
state management
async
fetch user data
update user data
cancel queries
invalidate queries
user ID
query key
query function
user data
updated user data
loading state