mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-30 23:04:59 +08:00
rename folder
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
---
|
||||
description: This rule lists additional instructions for using React Query, including TypeScript usage, error handling, and debugging tools.
|
||||
globs: src/**/*.tsx
|
||||
---
|
||||
- Use TypeScript for type safety with React Query
|
||||
- Implement proper error boundaries for query errors
|
||||
- Utilize React Query DevTools for debugging
|
||||
- Use stale-while-revalidate strategy for data freshness
|
||||
- Implement optimistic updates for mutations
|
||||
- Use query invalidation for data refetching
|
||||
- Follow React Query naming conventions for consistency
|
||||
Reference in New Issue
Block a user