Frontend Data Fetching

Fetch data in Sentry's frontend with TanStack Query and apiOptions. Use when adding or editing React code in static/ that calls the API — useQuery/useMutation/useInfiniteQuery, apiOptions, queryOptions/mutationOptions, fetchMutation, reading response headers/pagination, or conditional fetching. Trigger on "fetch data", "add an API call", "useQuery", "useMutation", "apiOptions", "queryFn", "pagination headers", "X-Hits", or "why is my query type wrong".

tuyv 42bb601 4 files · 18.1 KB Updated

File contents

tuyv/ccpm/tree/main/preset-registry/skills/getsentry-sentry-frontend-data-fetching commit 42bb60164d

Frequently asked questions

npx skillmds@latest add tuyv/frontend-data-fetching