9 lines
346 B
Plaintext
9 lines
346 B
Plaintext
---
|
|
description: Specifies the best practices for building React components within the Next.js 15 App Router structure.
|
|
globs: app/**/*
|
|
---
|
|
- Favor React Server Components (RSC) where possible.
|
|
- Minimize 'use client' directives.
|
|
- Implement proper error boundaries.
|
|
- Use Suspense for async operations.
|
|
- Optimize for performance and Web Vitals. |