Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Documentation suggests a soon-to-be deprecated function #7345

Open
danielhjacobs opened this issue Dec 9, 2024 · 0 comments
Open

Comments

@danielhjacobs
Copy link

danielhjacobs commented 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

@danielhjacobs 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant