Best practices for React Server Components in Next.js
.cursorrules in your project rootOptimize Server Components: 1. Default to Server Components 2. Use Client Components only when needed 3. Pass serializable props to Client Components 4. Fetch data in Server Components 5. Use async/await for data fetching 6. Implement proper suspense boundaries 7. Stream large content progressively 8. Cache server component results
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
framework
AI coding rules customize how Cursor generates and refactors code for your project. Follow these steps to install Next.js Server Components.
.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.