What problem does it solve?
This Skill solves common Nuxt 4 development pain points including hydration mismatches between server and client markup, incorrect server-side rendering behavior, inefficient data fetching patterns that hurt performance, and misconfigured route rules that break SEO or user experience.
Core Features & Use Cases
- Hydration Safety Guidance: Eliminate server-client markup mismatches with rules for deterministic SSR rendering and browser-only logic isolation.
- SSR-Safe Data Fetching: Correct usage of useFetch and useAsyncData to avoid duplicate requests and ensure consistent data hydration.
- Route & Performance Optimization: Configure route rules for prerender, ISR, SWR, and client-only routes, plus implement lazy loading and lazy hydration to reduce initial payload size.
- Use Case: For example, use this Skill to fix a hydration error on a Nuxt 4 e-commerce product page, or optimize a blog's rendering strategy to improve Core Web Vitals scores.
Quick Start
Use the nuxt4-patterns skill to fix hydration mismatches and optimize data fetching in your Nuxt 4 application.