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