Profile avatar
alexreardon.bsky.social
Software craftsman 👨‍🔧
59 posts 880 followers 44 following
Regular Contributor
Active Commenter
comment in response to post
Love it
comment in response to post
bsky.app/profile/mich...
comment in response to post
I've added this use case to an open TS issue about writeonly properties 🫡 (not sure if this issue is the most appropriate place though) github.com/microsoft/Ty...
comment in response to post
👀
comment in response to post
[Thanks also to my colleagues who helped me process this; especially Declan Warn!]
comment in response to post
Thank you. I think I am getting my head around it. My understanding is that the object (RefObject) being passed to the `ref` prop does not satisfy the constraint; even though the assignment of RefObject.current would be fine www.typescriptlang.org/play/#code/M...
comment in response to post
In this case, I am hoping to get a HTMLElement from the `ref`. I happen to get a HTMLButtonElement, which is still a HTMLElement
comment in response to post
cc 🧙‍♂️ @mattpocock.com @andarist.bsky.social 🙏
comment in response to post
📖 atlassian.design/components/p...
comment in response to post
I think moving to Go makes a lot of sense. I was more reflecting on how impressive it is to write a language in itself
comment in response to post
This is sick!
comment in response to post
🤩
comment in response to post
TIL useSyncExternalStore doesn't play well with Suspense react.dev/reference/re...
comment in response to post
More thinking about our approach to accessibility: youtu.be/CjGn0HahbDE?...
comment in response to post
If you look through the source of Pragmatic drag and drop, you will find more too. I just haven't updated the gist :) github.com/atlassian/pr...
comment in response to post
CSS Cascade?
comment in response to post
No (sadly). I didn't get it to the state of being a general purpose tool
comment in response to post
I'm thinking of putting a little video together where I walk through how the pieces come together to achieve the effect
comment in response to post
Folks have asked me how to achieve a "shadow" based drag and drop experience with Pragmatic drag and drop, and here is a decent example. I put it together for a recent talk gave about the Pragmatic drag and drop auto scroller
comment in response to post
I've seen examples with `fallback={null}`, and I'm like: "is that needed?"
comment in response to post
Solved! It's due to it's usage of `useSearchParams()`. next.js strongly encourages that components leveraging `useSearchParams()` be wrapped in a Suspense boundary nextjs.org/docs/message...
comment in response to post
I wonder what it would be like now for folks learning TS with all the fantastic learning paths available. I hope the "pit of despair" is shorter and shallower than it was for me 😅
comment in response to post
👋
comment in response to post
I think I might be
comment in response to post
How I am going to defend this alignment?
comment in response to post
I am in trouble
comment in response to post
I already had one 😅
comment in response to post
"flatbrain" is such a funny description 🤣
comment in response to post
There was a browser bug in Chrome 128 for all web platform drag and drop which impacted some Android devices. The bug was unrelated to pdnd. The bug is now fixed in in chrome 132
comment in response to post
Great sleuthing and story telling! Well done