React history.push() not redirecting

Johan kleine Bjällskog
2 min readMar 31, 2021

That ended up being my second googling, my first googling was “react redirect after logout”.

My first googling made me find an answer and it looked promising and easy. I ended up with something like this(see below), and you probably have to. The History.push sounded like the easy savior to this problem and I was excited, but as you know it…

--

--

Johan kleine Bjällskog

Lead front-end developer, movie lover and a junkie of series.