should component update react only certain states code example Example: shouldcomponentupdate shouldComponentUpdate(nextProps, nextState) { return true; }