What it does
A Cursor rules file with general React guidance. It covers component structure, hooks, state management, performance, forms and error handling, favouring small functional components, custom hooks, proper dependency arrays and error boundaries.
Use cases
- 01Split large components into smaller ones
- 02Extract reusable logic into custom hooks
- 03Add error boundaries and loading states