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

[Suggestion]: forwardRef is a legacy api, so should it be removed from where it's used? #7350

Open
dreampasssser opened this issue Dec 10, 2024 · 0 comments

Comments

@dreampasssser
Copy link

Summary

As above, in docs, there are still several references of forwardRef. It is suggested that we should remove them or replace them by a new way.

Page

No response

Details

I find out some pages(there may be more):

Accessing another component’s DOM nodes, the example in this section doesn't encounter error any more.

useImperativeHandle, there're a lot of forwardRef.

I can’t get a ref to a custom component, this doesn't encounter error neither.

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