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
We make use of the useObjectRef helper to forward and compose refs which is available in the @react-aria/utils package. With the latest release we wanted to switch to the mono import react-aria but useObjectRef isn't exported there 😳
Is this utility considered private? I know it is not documented but I found it reading older issues in the repo and I don't see a reason to implement this ourselves.
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
-
We make use of the
useObjectRef
helper to forward and compose refs which is available in the@react-aria/utils
package. With the latest release we wanted to switch to the mono importreact-aria
butuseObjectRef
isn't exported there 😳react-spectrum/packages/react-aria/src/index.ts
Line 42 in 93d8d40
Is this utility considered private? I know it is not documented but I found it reading older issues in the repo and I don't see a reason to implement this ourselves.
Beta Was this translation helpful? Give feedback.
All reactions