Framework
Version

DefaultGlobalNotFound component

The DefaultGlobalNotFound component is a component that renders "Not Found" on the root route when there is no other route that matches and a notFoundComponent is not provided.

DefaultGlobalNotFound returns

tsx
<p>Not Found</p>
<p>Not Found</p>
Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.