React hooks .cursorrules prompt files

React hooks are functions that let you use state and lifecycle features in functional components, enabling cleaner and more reusable code.