TanStack

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>