Getting data into your Next.js app is a key task. You can fetch data on the server or on the client. This guide shows how to use tools like SWR and React Query for client-side caching. It also covers how to automatically refresh static pages and handle errors.
You will learn about parallel fetching, sequential fetching, and setting up timed updates. Error boundaries and loading states are also included. This helps you build fast and reliable web apps.
Global
mkdir -p ~/.claude/skills/nextjs-data-fetchingProject
mkdir -p .claude/skills/nextjs-data-fetchingSource Repository
Frontend Designanthropics/skills
Create striking frontend interfaces with bold design and polished code every time
Vercel React Best Practicesvercel-labs/agent-skills
Optimize React and Next.js apps using proven Vercel performance guidelines
Design Taste Frontendleonxlnx/taste-skill
Enforce premium frontend design with metric-based rules and smart component architecture
Vercel Composition Patternsvercel-labs/agent-skills
Clean React components with composition instead of boolean props
Shadcnshadcn/ui
Manage shadcn UI components easily with CLI commands and clear styling rules
Impeccablepbakaus/impeccable
Polish your frontend interfaces with expert design critique and code
Minimalist Uileonxlnx/taste-skill
Build warm minimal web interfaces with editorial typography and flat bento grids
Industrial Brutalist Uileonxlnx/taste-skill
Raw mechanical UIs fusing Swiss print with military terminal aesthetics and high data density