Using a function in `setState` instead of an object4.5K44Sophia ShoemakerVinicius GonzalezFollowSep 2, 2018 · 1 min readthank you !