Closed carpben closed 6 years ago
Yeah, this is probably a more technically correct way of performing a state update like this. Also a good opportunity to introduce some of this more nuanced behavior surrounding setState
. Thanks for bringing this up.
I'll leave this open to you or anyone else who wants to work on a PR to update this challenge to reflect this!
Going to close this in the interest of migrating the curriculum into FCC.