There's a faster version of egghead. Click here to try it.
1×
Become a member
to unlock all features
Autoplay

    Render Catch-All Routes with React Router v4 using the Switch Component

    reactReact
    15 - 16

    There are many cases where we will need a catch-all route in our web applications. This can include 404-style routes when nothing is match or other use cases where where we receive an invalid route in React Router v4.