Loading video...

Video Failed to Load

Go Home

Streaming data from server to client with "use" in Next.js

36,533 views • 1 year ago •via X (Twitter)

10 Comments

Stefano Vidmar's profile picture
Stefano Vidmar1 year ago

I saw this pattern used in next conf. This is very useful when you don't want to create a wrapper component to do the data fetching and then pass down the data as props. Instead just like you showed pass it down as a promise and consume the promise on the client.

Ververica's profile picture
Ververica1 year ago

Ververica's Unified Streaming Data Platform available at AWS.

Alexandre Trotel's profile picture
Alexandre Trotel1 year ago

niceeee

Dedeh's profile picture
Dedeh1 year ago

which confetti plugin do you use

sly's profile picture
sly1 year ago

my brother wanted to kill himself because the documentation sucks for next. sincerely thank you for this 1 minute video.

Snazzles9's profile picture
Snazzles91 year ago

What version of Next.js is this available in?

bro nifty birds are not real 🐦's profile picture
bro nifty birds are not real 🐦1 year ago

you can remove then res from react serialization component else you have resolved dog not dog promise

AbbyZZZ's profile picture
AbbyZZZ1 year ago

streaming data in next.js can be tricky. make sure to use server-side rendering for initial loads and then switch to client-side fetching for real-time updates. this way, you keep the user experience smooth while handling data efficiently.

.manishrc's profile picture
.manishrc1 year ago

👌 This 53s video would have saved me 1 hour. Wish I saw this last week. How do I see a searchable list of your videos?

Alex Sidorenko's profile picture
Alex Sidorenko1 year ago

You can use from:asidorenko_ in X search

Related Videos