nextjs-react-expert
Installation
SKILL.md
React v19+ & Next.js Pro-Max Performance Patterns
The fastest code is code that doesn't run. The second fastest is code that runs on the edge and streams the result.
Contemporary Paradigm Shifts
| Legacy (React 18 / Next.js Pages) | Modern (React 19 / Next.js App Router) |
|---|---|
Manual useMemo() / useCallback() |
React Compiler handles memoization natively |
getServerSideProps / Client Fetching |
React Server Components (RSC) default |
useActionState custom hooks |
Server Actions native mutations |
| Loading spinners on client | Streaming UI & Suspense boundaries |
| Static or Dynamic pages | Partial Prerendering (PPR) (Static shell, dynamic guts) |