made this dropdown I found in our new animation library ✨
if interested, drop a star :) https://t.co/5M14NfukPY
cc @_buildspace@_nightsweekends@FarzaTV
@kerematam@TkDodo Quote from the screenshot: "Normally, writing or reading ref.current during render is not allowed. However, it’s fine in this case because the result is always the same, and the condition only executes during initialization so it’s fully predictable."
@_jgx_ @_douges Didn't like the bundling, the api and manifest (package.json), couldn't get source maps to work (might be skill issue)
On the plus side, it was fun to architect. And I like that there was a design system and component library available, even though it could have been better.
@mattpocockuk@giltayar Sure but this one in particular is so nonsensical. I mean you're writing your files in typescript, but you're importing some non-existent javascript file that will be there once you compile. In my mind, I import typescript files, especially since they can contain types, etc.
@mattpocockuk@giltayar But you have a compile step. You're not putting typescript in a browser or in node. The compiler can chanhe the extension. Which I guess is the point of the bundler mode, but still. The big argument was that typescript shouldn't handle that, which makes no sense to me.
@mattpocockuk Not saying it compares but maybe you'd like to read about my assembly interpreter within type annotations @mattpocockuk
https://t.co/FrfPt3WMHO