Video wird geladen...
Video konnte nicht geladen werden
Streaming data from server to client with "use" in Next.js
36,533 Aufrufe • vor 1 Jahr •via X (Twitter)
10 Kommentare

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
Ähnliche Videos
Server-side search with Next.js 13 and server components
Alex Sidorenko
208,520 Aufrufe • vor 2 Jahren
