Using a function in `setState` instead of an object4.5K44Sophia ShoemakerAdeel akramFollowJul 21, 2017 · 1 min readThanks, it really helped out.