Files
WRNexusJS/examples/basic-app/app/pages/partial-static.wrn
Clintchiz 586a6db8ff
Quality / quality (ubuntu-latest) (push) Failing after 21s
Quality / quality (windows-latest) (push) Canceled after 0s
release: WRNexusJS 0.8.0
2026-08-02 23:18:51 +05:30

28 lines
747 B
Plaintext

page PartialStatic {
layout = "public"
render = "partial-static"
seo {
title = "Partial-static streaming"
description = "A build-time WRNexus shell with request-streamed dynamic content."
}
view {
<Static>
<section class="wire-card stack">
<p class="wire-badge">Built once</p>
<h1>Build-time static shell</h1>
<p>This heading and page structure are emitted into dist/partial-shells.json.</p>
</section>
</Static>
<Dynamic>
<section class="wire-card stack" aria-live="polite">
<p class="wire-badge">Streamed per request</p>
<h2>Dynamic account region</h2>
<p>Personalized data belongs inside this boundary.</p>
</section>
</Dynamic>
}
}