When two nodes are not of the same type, React doesn't try to match them - it just removes the first node from the DOM and inserts the second one. This is why the first tip says
shouldComponentUpdate: function(nextProps, nextState) {
return nextProps.id !== this.props.id;
}