I see that React.forwardRef seems to be the sanctioned way of passing a ref to a child functional component, from the react docs:
const FancyButton = React.f
Ref is a standard property in React components.
Some components that wrap other components to provide additional functionality, use ref to refer to wrapped component and expect that the component has ref property.
It is better for a component to have the ref property to be compatible with other components and libraries.
Function components cannot have the "ref" property and must use forwardRef instead to provide ref property.