正在加载视频...

视频加载失败

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.

相关视频