What problem does it solve?
This Skill addresses common challenges in Nuxt 4 app development, such as hydration mismatches, route-level rendering decisions, performance bottlenecks, and data fetching complexities.
Core Features & Use Cases
- Hydration Safety: Ensures that server-rendered HTML matches client-side state, avoiding mismatches.
- Data Fetching: Provides SSR-safe data fetching methods like
useFetch and useAsyncData.
- Route Rules: Offers guidance on configuring route-level rendering strategies like SSR, SWR, ISR, and client-only sections.
- Performance Optimization: Techniques for lazy loading, lazy hydration, and payload size reduction.
- Use Case: A developer using Nuxt 4 can apply these patterns to improve the performance and reliability of their app, ensuring seamless user experiences.
Quick Start
Use the nuxt4-patterns skill to implement hydration-safe data fetching for a Nuxt 4 route.