Implement robust error handling with React error boundaries
.cursorrules in your project rootImplement error boundaries: 1. Create error boundary components for critical sections 2. Show user-friendly fallback UIs 3. Log errors to monitoring services 4. Implement retry mechanisms 5. Separate error boundaries by feature 6. Test error scenarios thoroughly 7. Provide recovery actions when possible
Comprehensive Cursor rules for Next.js 14+ with App Router, including routing, layouts, and API patterns.
Cursor rules for TypeScript with strict type checking, advanced patterns, and best practices.
Cursor rules for Tailwind CSS development with responsive design, custom components, and dark mode.
Cursor
frontend
AI coding rules customize how Cursor generates and refactors code for your project. Follow these steps to install React Error Boundaries.
.cursor/rules, for Windsurf use .windsurfrulesComprehensive Cursor rules for Next.js 14+ with App Router, including routing, layouts, and API patterns.
Cursor rules for TypeScript with strict type checking, advanced patterns, and best practices.
Cursor rules for Tailwind CSS development with responsive design, custom components, and dark mode.