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:

TypeScript logo over a pink and white background.

Drizzle vs. Prisma: Which ORM is best for your project?

Compare Prisma and Drizzle ORMs to learn their differences, strengths, and weaknesses for data access and migrations.

Temitope Oyedele
Nov 21, 2024 â‹… 10 min read
Practical Implementation Of The Rule Of Least Power For Developers

Practical implementation of the Rule of Least Power for developers

It’s easy for devs to default to JavaScript to fix every problem. Let’s use the RoLP to find simpler alternatives with HTML and CSS.

Timonwa Akintokun
Nov 21, 2024 â‹… 8 min read
Rust logo over black marble background.

Handling memory leaks in Rust

Learn how to manage memory leaks in Rust, avoid unsafe behavior, and use tools like weak references to ensure efficient programs.

Ukeje Goodness
Nov 20, 2024 â‹… 4 min read
Robot pretending to be a person.

Using curl-impersonate in Node.js to avoid blocks

Bypass anti-bot measures in Node.js with curl-impersonate. Learn how it mimics browsers to overcome bot detection for web scraping.

Antonello Zanini
Nov 20, 2024 â‹… 13 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