Загрузка видео...
Не удалось загрузить видео
Streaming data from server to client with "use" in Next.js
36,533 просмотров • 1 год назад •via X (Twitter)
Комментарии: 10

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
Похожие видео
How to recover from a server component error in Next.js
Alex Sidorenko
67,557 просмотров • 1 год назад
Moving data fetching between client and server with SWR
Alex Sidorenko
33,430 просмотров • 1 год назад
