Errors & boundaries
NotFound
Dev-oriented 404 shell with optional route hints — prefer app/routes/~404.tsx for branded pages.
<NotFound />
Exported from manicjs for the router’s built-in no-match UI in development-like scenarios. For production UX, add app/routes/~404.tsx (Routing).
import { NotFound } from 'manicjs';Props
Prop
Type
Framework context
The client Router renders NotFound when no registry entry matches location.pathname. Custom ~404.tsx replaces the default experience via window.__MANIC_ERROR_PAGES__.notFound when configured in main.tsx.