React shouldComponentUpdate Explained with Examples