Ref
This component exposes a prop that supports functional and createRef() API and returns the DOM node of both functional and class component children.

Types

Ref

A component exposes the innerRef prop that always returns the DOM node of both functional and class component children.

Forward Ref

Works with forwardRef API.

This is the bottom