9 lines
413 B
Plaintext
9 lines
413 B
Plaintext
---
|
|
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 |