react-router Redirect vs history.push
Redirect Rendering a <Redirect> will navigate to a new location. The new location will override the current location in the history stack, like server-side redirects (HTTP 3xx) do. whereas History push function Pushes a new entry onto the history stack