DEV Community

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

codybrewer profile image

I've been working with React for nearly two years now and this helped me so much! I've never broken through on when to use prevState with setState your example really helped click. Now I've got some button states to go fix :)

thawkin3 profile image
Tyler Hawkins Author

Glad I could help!