there is a state in the child component that needs to be used in the parent component, so how can the parent component respond in real time?
the only way you can think of is to use callbacks to get the status of child components directly from the parent component. For example, what is obtained by using this.refs.xxx.state.xxx
is not real-time, can it be obtained in real-time? Like redux, can you respond in real time without additional processing?