Closed
Description
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."