Open
Description
Summary
The section in the documentation about "Accessing another component’s DOM nodes" provides an example where a ref cannot be directly applied to a custom component (such as ) to access its DOM node. However, this behavior has changed in React 19, and refs can now be directly assigned to custom components. This section should be updated or removed as it no longer accurately reflects the current behavior in React.
Page
https://react.dev/learn/manipulating-the-dom-with-refs#accessing-another-components-dom-nodes
Details
No response