正在加载视频...

视频加载失败

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

36,533 次观看 • 1 年前 •via X (Twitter)

10 条评论

Stefano Vidmar 的头像
Stefano Vidmar1 年前

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 的头像
Ververica1 年前

Ververica's Unified Streaming Data Platform available at AWS.

Alexandre Trotel 的头像
Alexandre Trotel1 年前

niceeee

Dedeh 的头像
Dedeh1 年前

which confetti plugin do you use

sly 的头像
sly1 年前

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

Snazzles9 的头像
Snazzles91 年前

What version of Next.js is this available in?

bro nifty birds are not real 🐦 的头像
bro nifty birds are not real 🐦1 年前

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

AbbyZZZ 的头像
AbbyZZZ1 年前

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 的头像
.manishrc1 年前

👌 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 的头像
Alex Sidorenko1 年前

You can use from:asidorenko_ in X search

相关视频