SH
Nice post! The first example you gave with the states array provides a good mental model of how hooks work internally 👍. The point about mutating state and object references is really important! I’ve seen those types of bugs so many times. They’re really difficult to find in big apps with many components. Great job with the article!
