Recipes
Patterns we ship in the framework, written as how-tos with full code.
Forms & actions
mutationTyped submit, CSRF on by default, JS-on and JS-off both work. <Form action={...}> is the shortcut.
Data fetching
loadPage load() for SSR-injected data, ISR for caching, useSearch for typed URL params.
Authentication
securitySession cookie, server-side guard via load(), redirect on unauthenticated.
Streaming SSR
perfMark the page streaming: true, wrap slow children in <Suspense>. Comment-marker swap, no React baggage.
Theming & dark mode
designtheme() with bare color keys, auto light-dark() mode, no-flash cookie persistence. themeTokens() for custom CSS variables.