arrow_backBACK TO DRILLS
Blue BeltuserefPREMIUM
useImperativeHandle Instead of Exposing DOM Node
A reusable input component exposes only { focus, scrollIntoView } through useImperativeHandle instead of exposing the actual DOM node. What is the main advantage of this approach?