The ref that was received in your component (typically via forwardRef as the second argument).
Function that returns the value to expose to the parent. Commonly an object with methods, or a DOM node reference.
Optionaldeps: any[] = undefinedDependency list that controls when the exposed value is recalculated.
Customizes the value that is exposed to the parent when it uses a
refon a component created withforwardRef. The object returned byfactorybecomes the value ofref.currentfor object refs.