Logo Awesome React

Awesome React

When and how you use React refs | LEARN WHILE YOU POOP 17

You should never ever under absolutely no circumstances ever need to use direct DOM manipulation in a React component.

But when you do, refs are there to make it easy. We build a Video with a play button.

Code on GitHub πŸ‘‰https://github.com/Swizec/learn-while-you-poop-react