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