Post
Yeah, I'm curious about that. I recognize this pattern from SolidJS but I imagine React will run this ref callback on every re-render. Could that be an issue for, say, `document.addEventListener` use cases?
0 reposts5 likes
Right now, optimize them. But that's likely wrong because it changes behavior. @gsathya.bsky.social is aware and will fix it :)