正在加载视频...
视频加载失败
✍️ New blog post: "Instant Search Params with React Server Components" The result of my three-week obsession with React's new useOptimistic hook — ultimately leading me to a much richer understanding of React transitions. Hope you enjoy!
10 条评论

Didn’t read it yet… is useOptimistic for the pending search param you just selected to instantly go purple instead of after the data comes?

Correct 👍

That is the missing pice from the last podcast. Thank you very much! Next stop, YT video pleaseeee! 🙏🏾

Bingo!

Great post!

Thanks Devon!

Interesting! I built `nuqs` with the same idea in mind: keep the UI responsive, while the request is in flight and eventually settles, but that was before useOptimistic existed.

Very cool! I think higher-level hooks like this still have their place – you could useOptimistic under the hood so it gets the behavior around transitions for free.

Why does setOptimistic have to be wrapped into startTransition? I tried moving it outside and the behavior looks the same.

Just read it, very detailed, and you've included a few good use cases. Worth to read
相关视频
Sensitive content
For all lovers of red high heels 👠 and black leather 🖤 This week you can enjoy a classy combination of red❤️ and black🖤. I walked across Wittelsbacher Platz in Munich and I enjoyed the looks 👀 of the passers-by. How would you react if you saw me?,... pull out your phone?,... or would you have the courage to talk to me? I hope you enjoy my new update and have a wonderful weekend ☀️☀️☀️ Kisses 😘 Lady Vanessa
ᖴᕮTISᕼ DIVᗩ LᗩDY ᐯᗩᑎᕮSSᗩ™
31,073 次观看 • 2 年前
