What is the purpose of useImperativeHandle
useImperativeHandle
To create refs
To customize what is exposed through a ref.
To forward refs to child components.
In React 18, React.forwardRef is required to use useImperativeHandle
React.forwardRef
True
False
Q3: 🧠🤔 Think, In what scenarios is useImperativeHandle most useful? Provide an example.