You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to Reach UI and try to understand the code.
I am trying to understand how Reach manages the various refs like triggerRef and forwardedRef.
I see in the utils, there is function useComposedRefs<RefValueType = any>
Since I can't see anywhere in the repo where RefValueType is defined -
Does that mean RefValueType is just an arbitrary type that is any in the case?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I am new to Reach UI and try to understand the code.
I am trying to understand how Reach manages the various refs like triggerRef and forwardedRef.
I see in the utils, there is
function useComposedRefs<RefValueType = any>
Since I can't see anywhere in the repo where
RefValueType
is defined -Does that mean RefValueType is just an arbitrary type that is
any
in the case?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions