Beginner’s Guide to React Router
Nader Dabit

About the 404 route:
There’s a way to show the NotFound component without changing the URL?
I would like to see the 404 component but keep the user in the invalid URL, so will be possible to hit ‘back’ in browser and get to the correct previously valid URL

Like what you read? Give Otávio Migliavacca Madalosso a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.