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 10 Best React Native Component Libraries You Should Know

The 10 best React Native UI libraries of 2025

UI libraries like React Native Paper and React Native Elements offer pre-developed components that help us deliver our React Native projects faster.

Aman Mittal
Feb 21, 2025 â‹… 7 min read
top ten docker alternatives worth considering

The 10 best Docker alternatives to consider

Although Docker remains the dominant platform for containerization and container management, it’s good to know about different tools that may work better for certain use cases.

Ayooluwa Isaiah
Feb 21, 2025 â‹… 13 min read
how to use the ternary operator in javascript

How to use the ternary operator in JavaScript

Add to your JavaScript knowledge of shortcuts by mastering the ternary operator, so you can write cleaner code that your fellow developers will love.

Chizaram Ken
Feb 21, 2025 â‹… 7 min read
Using tsup To Bundle Your TypeScript Package

Using tsup to bundle your TypeScript package

Learn how to efficiently bundle your TypeScript package with tsup. This guide covers setup, custom output extensions, and best practices for optimized, production-ready builds.

Muhammed Ali
Feb 20, 2025 â‹… 7 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