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:

Lazy Loading Vs. Eager Loading

Lazy loading vs. Eager loading

In this guide, explore lazy loading and error loading as two techniques for fetching data in React apps.

Njong Emy
Dec 18, 2024 â‹… 5 min read
Deno logo over an orange background

How to migrate your Node.js app to Deno 2.0

Deno is a popular JavaScript runtime, and it recently launched version 2.0 with several new features, bug fixes, and improvements […]

Yashodhan Joshi
Dec 17, 2024 â‹… 7 min read
Angular icon over blue background

Generating OpenAPI API clients for Angular

Generate OpenAPI API clients in Angular to speed up frontend development, reduce errors, and ensure consistency with this hands-on guide.

Shalitha Suranga
Dec 16, 2024 â‹… 9 min read
Implementing Infinite Scroll In React Snap Carousel

Implementing infinite scroll in React with React Snap Carousel

Making carousels can be time-consuming, but it doesn’t have to be. Learn how to use React Snap Carousel to simplify the process.

David Omotayo
Dec 13, 2024 â‹… 10 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