[Suggestion]: forwardRef
is a legacy api, so should it be removed from where it's used?
#7350
Labels
forwardRef
is a legacy api, so should it be removed from where it's used?
#7350
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.
The text was updated successfully, but these errors were encountered: