Static vs. Dynamic rendering in Next.js
@delba_oliveira133K followers
105,452 views
11 Comments
Comments from the original post on X (Twitter)

@delba_oliveira
Static rendering provides an affordable (no runtime server compute), performant (no runtime server compute), and reliable (no runtime server compute) starting point. You can intentionally opt into rendering at runtime when you need to by using dynamic APIs.
14 likes

@delba_oliveira
RE: the "RSC doesn't require a server" discourse™️ Static rendering at build time would not be possible if React Server Components required a runtime server to work.
15 likes

@emapeire
Wonderful explanation 🫶
3 likes

@ProEvilz
How do you create the videos? Is it After Effects?
3 likes

@delba_oliveira
I use @Remotion
4 likes

@leibelhecht
Beware, if you use certain props (like searchParams) the rendering will be quietly changed to be dynamic and it may be difficult to debug by static isn't working
3 likes

@delba_oliveira
Yes, using dynamic functions/APIs that depend on runtime information signals the developer's intention and opts the page (today) or section (future via Partial Prerendering) into dynamic rendering. More:
2 likes

@Sandervspl
This looks beautiful!
2 likes

@rafaelrcamargo
That’s soo good, wow!
2 likes

@JuntaoQiu
Thanks for the clear illustrations (and animations), they look amazing. Are these videos available on YouTube, too?
2 likes

@delba_oliveira
🫡
