UNSAFE_componentWillReceiveProps()

in src/components/CodeEditor/CodeEditor.js [45:49]


  UNSAFE_componentWillReceiveProps(nextProps) {
    if (this.props.code !== nextProps.code) {
      this.setState(this._updateState(nextProps.code));
    }
  }