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
danielhjacobs
changed the title
[Bug]: Documentation suggest a soon-to-be deprecated function
[Bug]: Documentation suggests a soon-to-be deprecated function
Dec 9, 2024
Summary
https://react.dev/reference/react/useRef#i-cant-get-a-ref-to-a-custom-component says "By default, your own components don’t expose refs to the DOM nodes inside them." and goes on to suggest forwardRef, but https://react.dev/blog/2024/12/05/react-19#ref-as-a-prop says "In future versions we will deprecate and remove forwardRef."
Page
https://react.dev/reference/react/useRef
Details
No response
The text was updated successfully, but these errors were encountered: