// Reactive directives demo. Route: /reactive // // No client island file is needed — the generic reactive runtime // (/__wrnexus/reactive.js) hydrates the [data-scope] that `state` compiles to. // `count` becomes a signal; `{expr}` text interpolation and `@click` bind to it. page Reactive { layout = "public" // Seeds the reactive scope. The compiler wraps the view in //
, which the runtime hydrates. state count = 0 seo { title = "Reactive" description = "Directive-driven reactivity bound to signals" } view {

Reactive directives

Count is {count}, doubled is {count * 2}.

Home · About

} }