Check out a free preview of the full Building Web Apps (with React, Ampersand, ES6 and Webpack) course:
The "Handling 404 Errors" Lesson is part of the full, Building Web Apps (with React, Ampersand, ES6 and Webpack) course featured in this preview video. Here's what you'd learn in this lesson:

Since the Labelr application is handling all the routes on the client, an invalid route will not trigger a traditional 404 error. Henrik demonstrates how to handle wild-card routes and creates a MessagePage component that can be reused in different situations.

Get Unlimited Access Now