Nextjs Rsc To React Router V8 Migration

Use when migrating a multi-locale Next.js RSC / App-Router site to React Router v8 so SSR HTML is CDN-cacheable. RSC payload is uncacheable at the edge and locale × page count multiplies the bill. Covers ordered cuts: strip UA/geo/cookie SSR variance, split `.data` loaders from client fetches, restage theme SSR (next-themes + head script + /theme-vars.css), split middleware to Vercel Routing Middleware + root loader mirror, prerender static, land 3-tier Cache-Control so Cloudflare owns cache.

innei Updated

File contents

innei/skill/tree/main/skills/infrastructure/nextjs-rsc-to-react-router-v8-migration commit b2366382ed

Frequently asked questions

npx skillmds@latest add innei/nextjs-rsc-to-react-router-v8-migration