Forward Ref (React)

ref – https://reactjs.org/docs/forwarding-refs.html

Here is a step-by-step explanation of what happens in the example: