A ref passed to a custom component does not automatically reach a DOM node inside it. forwardRef lets a component receive a ref and attach it to a child element. useImperativeHandle customizes what that ref exposes.
Forwarding a ref to a DOM node
jsx
= ( () {
;
});
ref = ();
;
