DEV Community

Discussion on: How not to update states in React!!

andresausecha profile image
Andres Ausecha Mosquera

Usually the first one works fine, but sometimes when you have a state that updates very frequently the second one is the correct. Good post

nehal_mahida profile image
Nehal Mahida Author

Thanks, glad you like it. 🤗
It means a lot 🙏🏻