Logo Awesome React

Awesome React

Handling 404 pages (catch all routes) with React Router v4

  • Details
This is a video from TylerMcGinnis.com's "React Router" course. For the full course, visit - https://tylermcginnis.com/courses/react-router/

For the full post, visit - https://tylermcginnis.com/react-router-handling-404-pages/

Often time when building an app with React Router, you want to have a 'catch all' route which will render if none of the other routes match. In this post, we'll learn how to do just that by breaking down the 'No Match (404)' example from the React Router docs.

Twitter - https://twitter.com/tylermcginnis