The only way to pass a ref to a function component is using forwardRef. When using forwardRef, you can simply pass the ref to a DOM element, so ... ... <看更多>
Forward ref means forward the control of some elements to outside (consumer) component. So the parent can controls something inside the forwardref (child) ... ... <看更多>