I\'ve got something like this:
componentDidUpdate(prevProps, prevState) { if (prevState.aVal != this.state.aVal) { this.setState({ ranA: Mat