If I change value to something new, it's not reflected in the UI (nothing changes). After some debugging I think the culprit is this line: https://github.com/JedWatson/react-codemirror/blob/master/lib/Codemirror.js#L46
Because of that, the nextProps.value !== this.props.value equality is always false on line 68, because this.props.value has already been updated.
If I change
valueto something new, it's not reflected in the UI (nothing changes). After some debugging I think the culprit is this line: https://github.com/JedWatson/react-codemirror/blob/master/lib/Codemirror.js#L46Because of that, the
nextProps.value !== this.props.valueequality is always false on line 68, because this.props.value has already been updated.