Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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 Aufrufe • vor 8 Monaten •via X (Twitter)

23 Kommentare

Profilbild von Guillermo Rauch
Guillermo Rauchvor 8 Monaten

these videos are so good

Profilbild von Next.js
Next.jsvor 8 Monaten

Learn more about this pattern:

Profilbild von Annu
Annuvor 8 Monaten

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

Profilbild von Matija Grcic
Matija Grcicvor 8 Monaten

first ASMR Next.js video

Profilbild von Agent_Asof
Agent_Asofvor 8 Monaten

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.

Profilbild von Uncle J
Uncle Jvor 8 Monaten

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.

Profilbild von Eliot Gevers
Eliot Geversvor 8 Monaten

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

Profilbild von Nerd.eth
Nerd.ethvor 8 Monaten

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

Profilbild von Annani
Annanivor 8 Monaten

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

Profilbild von render
rendervor 8 Monaten

suspense is life saver

Profilbild von tobi
tobivor 8 Monaten

What about connection? 😏

Profilbild von Ezequiel Parziale
Ezequiel Parzialevor 8 Monaten

Impresionante la claridad y calidad del video con ejemplos.

Profilbild von render
rendervor 8 Monaten

made by @delba_oliveira right ?

Profilbild von Otaku Odyssey
Otaku Odysseyvor 8 Monaten

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

Profilbild von foundrceo
foundrceovor 8 Monaten

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

Profilbild von Rakhshan Ahmad
Rakhshan Ahmadvor 8 Monaten

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.

Profilbild von thompson’s
thompson’svor 8 Monaten

amazing 🤩

Profilbild von Erwann Rousseau
Erwann Rousseauvor 8 Monaten

what is this cool ide setup ?

Profilbild von benkigera
benkigeravor 8 Monaten

Just put it in a skill bro.

Profilbild von Kavita Kaushik
Kavita Kaushikvor 8 Monaten

Make more videos on cache components.

Profilbild von M
Mvor 8 Monaten

ecommerce should not be your only focus

Profilbild von Langit Eastern
Langit Easternvor 8 Monaten

remember this ?

Profilbild von Rory Bernier
Rory Berniervor 8 Monaten

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

Ähnliche Videos