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
Using references in React has changed over time and different libraries have used different approaches. Some Circuit UI components accept a deepRef or innerRef prop to forward a ref. React has since released a native API: forwardRef
Tasks
wrap all functional components in the native forwardRef (styled components do this automatically)
document a convention for components with several child nodes: which node should receive the ref?
Follow up to #346.
Motivation
Using references in React has changed over time and different libraries have used different approaches. Some Circuit UI components accept a
deepRef
orinnerRef
prop to forward a ref. React has since released a native API:forwardRef
Tasks
forwardRef
(styled components do this automatically)Originally posted by @felixjung in #342 (comment)
The text was updated successfully, but these errors were encountered: