anchor.diff:    }
   
     shouldComponentUpdate(nextProps, nextState) {
  -    // don't rerender if the RTE content change. the cursor jumps to the
  +    // don't rerender if the RTE content changes. the cursor jumps to the
       // beginning of the content if we re-initialize the RTE content.
  -    return nextProps.title !== this.state.title || nextProps.uid !== this.state.uid;
  +    return this.shouldRerender;
     }
   
     renderEditor() {
  
positive.code:   }
  
    handleTitleChange(e) {
      this.setState({ title: e.target.value }, this.handleChange);
    }
  
    handleContentChange(e) {
      this.setState({ content: this.$content.html() }, this.handleChange);
    }
  
  
negative.code:   componentWillReceiveProps(nextProps) {
      if (nextProps.uid !== this.state.uid) {
        // a different note is shown.
        this.shouldRerender = true;
        this.setState({
          uid: nextProps.uid,
          title: nextProps.title,
  