react-next-modern
Installation
SKILL.md
React and Next.js Modern Best Practices (2025)
Purpose
This skill enforces the architectural shift from client-side synchronization to async-native patterns using React 19 and Next.js App Router. The goal is to eliminate unnecessary useEffect usage, move data fetching to the server, and leverage modern primitives like Server Components and Server Actions.
Core Philosophy: The Paradigm Shift
Legacy Era (Pre-2024): Client components mount, then sync with server via useEffect
Modern Era (2025): Server components execute async logic, stream results to client
This shift eliminates:
- Waterfall network requests
- Race conditions in effects
- Layout shifts from loading states
- Manual state management for async operations
- Prop drilling for data