react lifecycle method subscription code example Example: shouldcomponentupdate shouldComponentUpdate(nextProps, nextState) { return true; }