Today we’re introducing UI SDK.
Agents are becoming both the builders and the users of interfaces. So we asked ourselves: where should the abstraction live?
Take a Select. There’s a popup, selection logic, keyboard navigation and focus management. Those same behaviors are useful in lots of other components.
So we pulled those pieces apart, tested them, and made them reusable. The behavior stays the same, whichever framework, renderer you build with or the harness generating the UI.
That’s the idea behind UI SDK. Give agents the pieces to generate the interface you need, right when you need it. Even interfaces we haven’t thought of yet.
I thought I was crazy after hours of debugging instead i found an ugly bug in @reactjs. useEffectEvent is broken when used inside a memo compontent. More detail here: https://t.co/GXbrgDUu4X
@leeerob@nextjs Before simplifying should at least fixed.
This 2 issues in particolar make a pain for me and my team migration to app router.
First static rendering is basically broken on prod: https://t.co/BWXOaVONyA
Second fetch cache dedupling in build is also broken https://t.co/NxpcKHobyC
Hacking around with new npm mode in @deno_land.
Some stuff is missing but is very great, in the future it will no longer be necessary compile server code for ssr React apps.
I built a demo using @vite_js with HMR, SSR and @reactjs stream, looking good 😃
https://t.co/qUCBGtU4aV
Sometimes I think of all the meeting where I don't want to go
Then I think of all the features I don't want to do
And when I think of all the PM I don't want to meet
I close my eyes and open Vim
Hey Twitter, after ~10 years working in the web i publish my first personal blog lol.
Check it out!
https://t.co/s50SuCIPYA
#javascript#programming#blog#tech
@dan_abramov This is the only solution i found but i don't known if is the correct solution or if there is a better approach to the problem.
https://t.co/2cKUTK0Xf1
@dan_abramov Thanks @dan_abramov very interesting and useful.
I am left with only one doubt, when starts using transition you need to split state in UI and "Data" how to synchronize them?
Take this example:
https://t.co/DMuc9bO5km
Thanks a lot Dan 🙏
@sebmarkbage I'm very curious, how SEO stuff can work with Suspense and new streaming architecture.
Something like that will be possible in the future?
A City in a Bottle 🌆
<canvas style=width:99% id=c onclick=setInterval('for(c.width=w=99,++t,i=6e3;i--;c.getContext`2d`.fillRect(i%w,i/w|0,1-d*Z/w+s,1))for(a=i%w/50-1,s=b=1-i/4e3,X=t,Y=Z=d=1;++Z<w&(Y<6-(32<Z&27<X%w&&X/9^Z/8)*8%46||d|(s=(X&Y&Z)%3/Z,a=b=1,d=Z/w));Y-=b)X+=a',t=9)>