Skip to content

[FEAT] : Skill for react query ease#1306

Open
AshutoshDash1999 wants to merge 1 commit into
anthropics:mainfrom
AshutoshDash1999:docs/react-query-ease-skill
Open

[FEAT] : Skill for react query ease#1306
AshutoshDash1999 wants to merge 1 commit into
anthropics:mainfrom
AshutoshDash1999:docs/react-query-ease-skill

Conversation

@AshutoshDash1999

Copy link
Copy Markdown

Summary

  • Adds react-query-ease skill — typed Axios + React Query wrapper that eliminates boilerplate for API clients, hooks, and token refresh
  • Covers full workflow: install → client setup → useQuery / useMutation → auth interceptor → streaming (useStream)
  • Includes 6 reference docs for error handling, optimistic updates, streaming, auth interceptor, QueryClient config, and full CRUD examples

What is react-query-ease?

react-query-ease wraps Axios + React Query into a single typed client. One createApiClient call gives you .useQuery, .useMutation, and .useStream — no repeated Axios config, no manual cache invalidation wiring, built-in 401 token refresh.

Files added

File Purpose
SKILL.md Core skill: install, client setup, hooks, auth, streaming
references/auth-interceptor.md createAuthInterceptor full options + chaining
references/error-handling.md mutateAsync try/catch, QueryErrorResetBoundary
references/examples.md Full CRUD walkthrough (list/create/update/delete)
references/optimistic-updates.md Create/toggle/delete optimistic patterns
references/query-client-config.md QueryClient defaults table + global error handler
references/streaming.md useStream full API + async iterator usage

…oncepts, error handling, optimistic updates, and streaming references
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant