Blog

Written by Elmar Burke who lives and works in Amsterdam building useful things. You can follow him on Twitter

React Router: history.push vs. <Redirect />

February 15, 2020

If you are using the famous React Router, you maybe have asked yourself the same question: should I use the history.push or <Redirect /> API. Both APIs offer the same functionality but usage is completely different.

Read