1. 26
    Handle 404s in Remix with CatchBoundaries
    2m 57s

Handle 404s in Remix with CatchBoundaries

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

Currently, if we try to navigate to a post that doesn't exist, we just stay on the New page. We need to a way to catch those and tell our users that they are access in a route that doesn't exist.

We will create a simple function that returns a div saying Uh oh! and have that get rendered when a user navigates to a page that doesn't exist.