200316 (3) [Avatar] Offline
The text says that the previous state is passed in, the code has nextState. Which is it?
287516 (45) [Avatar] Offline
Hello! Thanks for pointing this out, I'll be sure to get it updated in the text.

Just to be clear, componentDidUpdate(prevProps, prevState) receives the next state as an argument!