DEV Community

Discussion on: The useRef() hook in React!

Collapse
 
ziratsu profile image
Ustariz Enzo

You need to instanciate one ref by component, you cannot share it;