DEV Community

Discussion on: I learned React Hooks and now I'm the happiest dev on the planet! 🌎

Collapse
 
hnrq profile image
Henrique Ramos

A good tip is to avoid changing a HTML Element state by using document.getElementById. You should always aim to make controlled components. Other than that, keep up the good work! (Also, I really feel you, man, Hooks changed my life)

Collapse
 
braydentw profile image
Brayden W ⚡️

Good tip! I’ll work on that. Thanks for your help :D