200316 (3) [Avatar] Offline
#1
The text says that the previous state is passed in, the code has nextState. Which is it?
https://goo.gl/EcLUz6
287516 (28) [Avatar] Offline
#2
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!