DEV Community


Discussion on: 3 React Mistakes Junior Developers Make With Component State

sgolovine profile image
Sunny Golovine • Edited

#3 is so accurate. I made this mistake countless times as a Junior. Even now with React hooks I'll catch myself trying to do something synchronously and go "oh right, can't do it like that" and end up hooking it up through an effect.

Edit: Add escape characters.