// A reusable component. Route: none — mounted inside a page with //
. // // Components render on the SERVER (with their props applied) and are hydrated in // the browser by the generic reactive runtime — they ship no JS of their own. component Counter { // Props arrive as mount attributes, each coerced to the type of its default // (so start="5" arrives as the number 5). props { start = 0 label = "Count" } // State can reference props. `count` seeds the reactive scope. state count = start view { } }