4 ms·
That's what the very-rarely-used `useImperativeHandle` hook is for - exposing "instance methods" from function components: https://reactjs.org/docs/hooks-refer
by acemarke 7y ago
That's what the very-rarely-used `useImperativeHandle` hook is for - exposing "instance methods" from function components:
https://reactjs.org/docs/hooks-reference.html#useimperativehandle https://reactjs.org/docs/hooks-reference.html#useimperativeh...