Skip to main content

RouteConfig

Route protection

Frontend route protection is a UX convenience — the actual security enforcement happens on the backend via scopedProcedure and database-level RLS.

Dynamic routes

System routes

systemRoutes(basePath, displayName) provides: Do not redefine /login when using systemRoutes(). Standard <a> tags with relative paths are automatically intercepted for client-side navigation:

Programmatic navigation

Active navigation state

useAuth

User properties

Conditional rendering with scopes