Tyler Hawkins
Mar 4, 2021

--

You're welcome! Yes, #8 is a tricky one because for simple state updates you'll often be fine writing it the "incorrect" way without relying on a function of the previous state. But one day at some point, an unexpected bug will creep up and bite you by following that pattern!

--

--

Tyler Hawkins
Tyler Hawkins

Written by Tyler Hawkins

Staff software engineer. Continuous learner. Educator. http://tylerhawkins.info

No responses yet