Max Stoiber @ š¦š¹ on Twitter: "š„ TIL: setState accepts a callback, which gets passed the previous state! š± via @dan_abramov's https://t.co/tqVh4uoI6f https://t.co/GPWUIVKWu2"
Did you know that this is the safe way to use React's setState method? News to me.