2022-04-12
1739
#nextjs#react
Ido Shamun
31965
Apr 12, 2022 ⋅ 6 min read

Incremental Static Regeneration with Next.js

Ido Shamun Co-founder, CTO at daily.dev.

Recent posts:

the replay october 29

The Replay (10/29/25): AI-assisted coding, Wasm 3.0, and more

Discover what’s new in The Replay, LogRocket’s newsletter for dev and engineering leaders, in the October 29th issue.

Matt MacCormack
Oct 29, 2025 ⋅ 34 sec read
next js 16 is here

Next.js 16: What’s new, and what it means for frontend devs

Learn about the new features in the Next.js 16 release: why they matter, how they impact your workflow, and how to start using them.

Abiola Farounbi
Oct 29, 2025 ⋅ 5 min read
is Llama really as bad as people say? I put Meta’s AI to the test

Is Llama really as bad as people say? I put Meta’s AI to the test

Test out Meta’s AI model, Llama, on a real CRUD frontend projects, compare it with competing models, and walk through the setup process.

Chizaram Ken
Oct 29, 2025 ⋅ 11 min read
the future of ai agents might be SLMs

Small language models: Why the future of AI agents might be tiny

Rosario De Chiara discusses why small language models (SLMs) may outperform giants in specific real-world AI systems.

Rosario De Chiara
Oct 29, 2025 ⋅ 5 min read
View all posts

6 Replies to "Incremental Static Regeneration with Next.js"

  1. Hi, I tried SSG with revalidation, but it fires the api request always. It’s a little hard to debug because the network tab doesn’t shows a request, but logging my api, the request is orchestrated. Maybe there is something I’d missed

  2. hello. thank you it was very usefull.
    I have a question please.

    For example with a website handling a very high number of small pages who displays always the same content, like a huge ecommerce website with 10 millions let’s be crazy, what would you use between ISR, SSG, and SSR ? in the code bellow it’s a fetch query for one page only, but how to fire all the pages rendering for exemple in SSR ?

    We cannot make a query to fetch so much data in one shoot or API/database will crash or timeout.
    Thank you

  3. Thanks for the great article.
    somewhere u said ‘returned props are forwarded to the React component as props.’ i think it is forwarded to page component not to the react component.

Leave a Reply

Would you be interested in joining LogRocket's developer community?

Join LogRocket’s Content Advisory Board. You’ll help inform the type of content we create and get access to exclusive meetups, social accreditation, and swag.

Sign up now