Loading video...
Video Failed to Load
Streaming data from server to client with "use" in Next.js
36,533 views • 1 year ago •via X (Twitter)
10 Comments

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 Unified Streaming Data Platform available at AWS.

niceeee

which confetti plugin do you use

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

What version of Next.js is this available in?

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

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.

👌 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?

You can use from:asidorenko_ in X search
Related Videos
How to use Next.js metadata if the page is a client component
Alex Sidorenko
91,579 views • 1 year ago
