macro_rules! web_application {
($content:path) => { ... };
($builder:expr, $content:path) => { ... };
}Expand description
Declares the browser entry point for an application whose root is a composable.
A page has no library loader and no main of its own: the Renderer’s module owns the
loop and calls this once both wasm modules exist. The export is defined where the root
is because a browser refuses to instantiate a module with an import nobody supplies.
ⓘ
compose_rust::web_application!(app);