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

5 lines
246 B
Plaintext

---
description: This rule enforces the use of functional components with hooks in React components within the src/components directory.
globs: src/components/**/*.tsx
---
- Always use functional components with hooks instead of class components.