DEV Community

Discussion on: React Hooks Explained: useImperativeHandle

Collapse
 
mrvaa5eiym profile image
mrVAa5eiym

"One of the rare spots where I’ve encountered useImperativeHandle in the wild is when there's some kind of scrollable area and button to let the user scroll all the way back up to the top." could you show the practical example please? I struggle to imagine it :) Thank you for this nice piece