Skip to main content

Module pages

Module pages 

Source
Expand description

Bound page contracts and checked handler rendering. Startup binding between declared TypeScript page props and a derived Rust handler.

Structs§

PageHandle
A verified handler contract. Clone it into application state; no constructor accepts raw slots or an unverified module. Request values are checked before any HTML is returned. In debug builds a changed module is bound again; an invalid file keeps the loader’s last good module, while a valid incompatible schema returns RENDER-405 until the handler or page is corrected.
Pages
Strictly loaded pages. Bind each server-rendered handler before opening a listener. Browser-only routes cannot produce a typed SSR handle.