arrow_backBACK TO DRILLS
Blue BeltuserefPREMIUM
imperative handle limits DOM exposure
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?