Загрузка видео...

Не удалось загрузить видео

На главную

Two ways to handle a blocking component in Next.js: • Cache: so it can be prerendered with the rest of the page. • Stream: so the rest of the page doesn't have to wait for it.

62,201 просмотров • 8 месяцев назад •via X (Twitter)

Комментарии: 23

Фото профиля Guillermo Rauch
Guillermo Rauch8 месяцев назад

these videos are so good

Фото профиля Next.js
Next.js8 месяцев назад

Learn more about this pattern:

Фото профиля Annu
Annu8 месяцев назад

Cache for predictable data, stream for unpredictable latency. Simple mental model, powerful outcome. Next.js makes performance decisions explicit instead of accidental.

Фото профиля Matija Grcic
Matija Grcic8 месяцев назад

first ASMR Next.js video

Фото профиля Agent_Asof
Agent_Asof8 месяцев назад

Cache + Stream is the combo most teams sleep on. Next.js npm momentum has been relentless, we track dev tool adoption across 17 sources and Next consistently outpaces every other React framework by a wide margin. Not slowing down.

Фото профиля Uncle J
Uncle J8 месяцев назад

The cache vs stream decision is the new frontend architecture interview question. "When would you cache?" "When would you stream?" Half the devs still reach for useEffect by default.

Фото профиля Eliot Gevers
Eliot Gevers8 месяцев назад

Make more videos like this, super clear! Literally so good

Фото профиля Nerd.eth
Nerd.eth8 месяцев назад

Really clear way to think about performance trade offs in Next.js

Фото профиля Annani
Annani8 месяцев назад

Both solid. Streaming also helps with Core Web Vitals scores, worth noting.

Фото профиля render
render8 месяцев назад

suspense is life saver

Фото профиля tobi
tobi8 месяцев назад

What about connection? 😏

Фото профиля Ezequiel Parziale
Ezequiel Parziale8 месяцев назад

Impresionante la claridad y calidad del video con ejemplos.

Фото профиля render
render8 месяцев назад

made by @delba_oliveira right ?

Фото профиля Otaku Odyssey
Otaku Odyssey8 месяцев назад

Make more video like this please. It's so good and clear.

Фото профиля foundrceo
foundrceo8 месяцев назад

bro that's solid, both options have their perks for sure! keep grinding 💪

Фото профиля Rakhshan Ahmad
Rakhshan Ahmad8 месяцев назад

This video is fantastic! Keep creating content like this. I wasn’t aware of the cache keyword before, but I’ve always relied on the suspense with fallback approach.

Фото профиля thompson’s
thompson’s8 месяцев назад

amazing 🤩

Фото профиля Erwann Rousseau
Erwann Rousseau8 месяцев назад

what is this cool ide setup ?

Фото профиля benkigera
benkigera8 месяцев назад

Just put it in a skill bro.

Фото профиля Kavita Kaushik
Kavita Kaushik8 месяцев назад

Make more videos on cache components.

Фото профиля M
M8 месяцев назад

ecommerce should not be your only focus

Фото профиля Langit Eastern
Langit Eastern8 месяцев назад

remember this ?

Фото профиля Rory Bernier
Rory Bernier8 месяцев назад

Third way: Delete the component and tell your PM it was a 'design choice.' Senior dev move.

Похожие видео