Harry G. Withers is a full stack software developer specialising in a number of technologies including Java, Javascript and ReactJs. He lives in the south of England and enjoys working both in person and remotely.
Whenever you update state based on previous state, use an update function to avoid stale state problems.