ssr-data-fetching
OfficialReliable SSR data fetching for Nuxt 4
Authorteocrafters
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This guide helps developers implement Server-Side Rendering compatible data fetching in Nuxt 4, ensuring API data is available during the initial render and improving SEO and performance.
Core Features & Use Cases
- Use useFetch() for straightforward data fetching in components and pages.
- Use useAsyncData() for more complex or shared data requirements across routes.
- Ensure loading and error states are properly handled to maintain good UX and reliability.
- Prevent client-only fetches to avoid missing data during SSR hydration and reduce re-renders.
Quick Start
Fetch data in a Nuxt 4 component using useFetch or useAsyncData and ensure SSR hydration by awaiting results.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ssr-data-fetching Download link: https://github.com/teocrafters/public-talk-planner/archive/main.zip#ssr-data-fetching Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.