Lightlines
By giuseppe-trisciuoglio

nextjs-data-fetching

giuseppe-trisciuoglio3.6k installs

Fetch and cache data in your Next.js app.

What it does

Guides implementation of data fetching in Next.js applications with suitable caching, loading states, and error handling.

When to use it

Use when implementing App Router data fetching, choosing server or client components, configuring caching and revalidation, or handling loading and errors.

How to use it

It changes how the agent implements data fetching in a Next.js project, favoring server components, parallel requests, appropriate caching, and recoverable loading and error states.

What you provide

  • An existing project

Latest review

What you need · 1

Applies to a Next.js application using App Router.


Access · 0

No additional actions listed.