Ok, I’m going to start watching Andor again for the second time since November.
Ok, I’m going to start watching Andor again for the second time since November.
Right, but “escape hatch” implies there is a better “right” way to accomplish something. There’s no declarative way (e.g., an attribute that isn’t `autofocus`) to set focus on an element on the fly. Same for something like setting the .indeterminate property on a checkbox. Maybe that just me tho.
Definitely always felt this with the way refs are documented as some sort of anti pattern when they’re absolutely necessary if you want to build actually accessible stuff where you need to manage focus e.g., calling Element.focus()