#WorldCup these hydration breaks all they do is break the game rhythm
27
handletastic retweeted
It's on tomorrow :-)
nitter.gq/LWJShow/status/1712559…
📣 Just Scheduled! 📣
Triplex is a visual editor for react-three-fiber that uses code as the source of truth. Editing 3D components in @reactjs in a Figma-like UI?! Creator @_douges will teach us how it works.
⬇️ Details Here ⬇️
learnwithjason.dev/3d-in-rea…
handletastic retweeted
TypeScript 5.3 beta just went out! Now slimmer and faster, with lots of new narrowing improvements, correctness checks, import attributes, and more - so try it out now!
devblogs.microsoft.com/types…
handletastic retweeted
▵ Triplex is the React Three Fiber editor where your code is the source of truth!
✨ v0.58.0 has released, sound on! 🔊
🌏 Set provider component props in the UI
🐥 Edit child elements without leaving your open file
😍 Much more triplex.dev/releases/v0.58.0
#threejs #r3f #reactjs
handletastic retweeted
With component providers, the Select with Combobox example code will look like this.
What do you think?
Link to the RFC:
github.com/ariakit/ariakit/i…
Link to the Select with Combobox example:
ariakit.org/examples/select-…
![The following code: const [value, setValue] = useState(""); <ComboboxProvider value={value} setValue={setValue}> <SelectProvider defaultValue="Apple"> <Select /> <SelectPopover> <Combobox /> <ComboboxList> <ComboboxItem render={<SelectItem />} /> <ComboboxItem render={<SelectItem />} /> <ComboboxItem render={<SelectItem />} /> </ComboboxList> </SelectPopover> </SelectProvider> </ComboboxProvider>](https://pbs.twimg.com/media/F2JuxQoXEAAdVLY.jpg?name=small&format=webp)
ALT The following code: const [value, setValue] = useState(""); <ComboboxProvider value={value} setValue={setValue}> <SelectProvider defaultValue="Apple"> <Select /> <SelectPopover> <Combobox /> <ComboboxList> <ComboboxItem render={<SelectItem />} /> <ComboboxItem render={<SelectItem />} /> <ComboboxItem render={<SelectItem />} /> </ComboboxList> </SelectPopover> </SelectProvider> </ComboboxProvider>
handletastic retweeted
Replying to @kadikraman
you have a lot of performance lost in the second case by having to constantly initialize that lookup table
If you move that outside the map, the two are close, but interestingly the crossover point is around 11 items. If you have more than 11, then the lookup becomes faster
tinyurl.com/bd9es4nm
One minute of silence to all Photoshop users
1
25
handletastic retweeted
tRPC is pretty conceptually heavy.
Here's a little guide on a few of the more confusing terms.
handletastic retweeted
I am stoked this is ready.
My second TypeScript tutorial is out now.
And it's free!
🧵
handletastic retweeted
If you don't know generics, I promise you'll understand them by the end of this thread.
I like a challenge.
handletastic retweeted
That little gap is an essential feature of this proven optimal packing. We can say for certain that no more efficient arrangement exists.
Also, even for many numbers where a 'nice' symmetrical arrangement is possible, there's a funky looking one which beats it:

























