A look into react-redux's connect function and how it decides if your connected component should re-render or not.