1 min readAug 6, 2020
Hey Tyler, nice article. You mention in number 2, not to access the state variable directly when updating state, but the react docs do this https://reactjs.org/docs/hooks-state.html#updating-state
Is this just for simplicity, or are there good reasons to ignore how they do it?