Use of shouldComponentUpdate, made it more react-idiomatic