DEV Community


Discussion on: Concrete example for React.useImperativeHandle

deadcoder0904 profile image
Akshay Kadam (A2K)

Hey Yoav, really nice example. Can we use useImperativeHandle to share refs between siblings?

For example, I want to target a ref in one sibling component & access it from other sibling, here's a full description of what I mean →