Stop the communication between react components using mufa after a condition
问题 I am using the sub/pub pattern via mufa to make communication between React components instead of props. Then, we will mitigate the logic in the Parent component (as you will notice that in the following snippet). const {on, fire} = mufa; class Input extends React.Component { onChange(event) { fire('input_change', event.target.value); } render() { return <input onChange={this.onChange.bind(this)} /> } } class Label extends React.Component { state= {text: ""}; componentDidMount() { on('input