sketched out a rough optimizion idea for shouldComponentUpdate