Dealing with Nested React Components' State Changes
问题 So, I have multiple ReactComponent. Initially, I was thinking that there will be sort of a parent component (let's call this GrandPa) with its own state, and it will pass down some info about its state to another component (call it Parent). Similarly, Parent passes some of his to Child and child to GrandChild. So we have the hierarchy: GrandPa -> Parent -> Child -> GrandChild However, I quickly realized that when I change the state of GrandPa with method this.setState(prevState => (<new state