Usage Of  "*"  in React Router

Usage Of "*" in React Router

This wild card character signals to react router that any path any URL should match this route. This route has to come last so that it does not consume one of the requests to one of the actual routes we have. But if we didn't have any match up to this point then we want to match all URLs with this route. And then just rendered this not found page here.

<Route path="  /:quote" >
          <NotFound />
        </Route>
<Route path="*" >
          <NotFound />
        </Route>