rename to deprecated

This commit is contained in:
sanjeed5
2025-03-03 23:40:27 +05:30
parent 7a6f5a704d
commit 7f71c5eaa4
882 changed files with 0 additions and 0 deletions
@@ -0,0 +1,5 @@
---
description: Utilize Apollo Client's caching capabilities to improve performance.
globs: src/**/*.js
---
- Utilize Apollo Client's caching capabilities
@@ -0,0 +1,5 @@
---
description: Instructs to implement custom hooks for Apollo operations.
globs: src/hooks/**/*.js
---
- Implement custom hooks for Apollo operations
@@ -0,0 +1,5 @@
---
description: Suggests the use of Apollo Client DevTools for debugging.
globs: src/**/*.js
---
- Use Apollo Client DevTools for debugging
@@ -0,0 +1,5 @@
---
description: Requires the use of Apollo Provider at the root of the application.
globs: src/App.jsx
---
- Use Apollo Provider at the root of your app
@@ -0,0 +1,9 @@
---
description: Applies best practices for GraphQL and Apollo Client usage, including state management, data fetching, and error handling.
globs: src/graphql/**/*.js
---
- Use Apollo Client for state management and data fetching
- Implement query components for data fetching
- Utilize mutations for data modifications
- Use fragments for reusable query parts
- Implement proper error handling and loading states
@@ -0,0 +1,5 @@
---
description: Requires the implementation of proper error boundaries for GraphQL errors.
globs: src/**/*.jsx
---
- Implement proper error boundaries for GraphQL errors
@@ -0,0 +1,5 @@
---
description: Requires following naming conventions for queries, mutations, and fragments.
globs: src/graphql/**/*.js
---
- Follow naming conventions for queries, mutations, and fragments
@@ -0,0 +1,5 @@
---
description: Enforces the use of TypeScript for type safety with GraphQL operations.
globs: src/graphql/**/*.ts
---
- Use TypeScript for type safety with GraphQL operations
@@ -0,0 +1,5 @@
---
description: Enforces the use of functional components with hooks in React components.
globs: src/components/**/*.jsx
---
- Always use functional components with hooks instead of class components.