How To Properly Handle Navigation in a React App
Your app’s navigation might be broken. Here’s how to fix it
Published in
3 min readFeb 3, 2021
Take a look at the code below. Do you see anything wrong with the NavBar
component? You might even want to play around with the results if you cannot find the problem by simply looking at the code: