Resuma Flow
Full-stack layer: pages, layouts, server data, forms, and middleware — included in the resuma crate.
LIVE
Flow + server fn
Server function demo
Rust runs on the server only. Click reload — no page refresh. Every 3rd call returns an error (check your server logs).
Topics
Routing
File conventions: [id], [...slug].
Pages
auto_pages and PagesRegistry.
Layouts
#[layout], Slot, nested shells.
Loaders
#[load], use_*_load, LoadValue.
Actions
#[submit], SubmitError, Form.
Middleware
Request pipeline hooks.
Endpoints
Submit and action HTTP paths.
Error handling
FlowError, not_found_page.
Caching
Cache-Control on #[load].
Streaming
Deferred #[load(stream)] SSR.
Query params
Search params, loader_refresh_input.
PWA & public/
Installable app, static files.
Flow path
#[load] → SSR → resumability payload → user → #[submit]Bootstrap
FlowApp::new()
.with_title("My App")
.streaming(true)
.auto_pages("src/pages", PagesRegistry)
.not_found(|| not_found_page())
.serve(FlowServeOptions::default())
.awaitExamples: flow-pages, flow-demo.