Better way of typing `useRef` when passing to another hook.
Hello. I'm using react-aria to create some buttons and I would like to be able to type the ref object I pass to the useButton hook without casting it.
Is there a way to do this ?
2 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I'm quite literally blind, saw it like that somewhere in the docs
Many thanks 
