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
In the recap section is still a reference to forwardRef:
"A component doesn’t expose its DOM nodes by default. You can opt into exposing a DOM node by using forwardRef and passing the second ref argument down to a specific node."
Could be change to : "A component doesn’t expose its DOM nodes by default. You can opt into passing a ref argument like a props down to a specific node."
The text was updated successfully, but these errors were encountered:
Summary
Summary
Since forwardRef is considered a legacy API, it should be removed from Manipulating the DOM with Refs section of the documentation.
Page
https://react.dev/learn/manipulating-the-dom-with-refs#recap
Details
In the recap section is still a reference to forwardRef:
"A component doesn’t expose its DOM nodes by default. You can opt into exposing a DOM node by using forwardRef and passing the second ref argument down to a specific node."
Could be change to : "A component doesn’t expose its DOM nodes by default. You can opt into passing a ref argument like a props down to a specific node."
The text was updated successfully, but these errors were encountered: