Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Static vs. Dynamic rendering in Next.js

105,383 görüntüleme • 2 yıl önce •via X (Twitter)

11 Yorum

Delba profil fotoğrafı
Delba2 yıl önce

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.

Delba profil fotoğrafı
Delba2 yıl önce

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.

Emanuel Peire profil fotoğrafı
Emanuel Peire2 yıl önce

Wonderful explanation 🫶

ProEvilz profil fotoğrafı
ProEvilz2 yıl önce

How do you create the videos? Is it After Effects?

Delba profil fotoğrafı
Delba2 yıl önce

I use @Remotion

Leibel Hecht profil fotoğrafı
Leibel Hecht2 yıl önce

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

Delba profil fotoğrafı
Delba2 yıl önce

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:

Sander Vispoel profil fotoğrafı
Sander Vispoel2 yıl önce

This looks beautiful!

rafael r. camargo profil fotoğrafı
rafael r. camargo2 yıl önce

That’s soo good, wow!

Juntao Qiu | 邱俊涛 profil fotoğrafı
Juntao Qiu | 邱俊涛2 yıl önce

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

Delba profil fotoğrafı
Delba2 yıl önce

🫡

Benzer Videolar