Files
main/rules-v0-deprecated/react-graphql-apollo-client-cursorrules-prompt-file/react-functional-components-preference.mdc
T
2025-03-03 23:40:27 +05:30

5 lines
200 B
Plaintext

---
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.