Home Docs Catalog Registry AI Studio LedgerFlow Showcase
Declarative Shadow DOM Zero Runtime Deps Hydration: ON

Declarative Shadow DOM (DSD) SSR

Server-rendered in pure Node.js using renderComponentToDSD(). Inspect Page Source to see real <template shadowrootmode="open"> markup emitted before any client JavaScript runs.

Static DSD snapshot pre-rendered by node examples/ssr-server.js --static examples/ssr-demo.html. Run npm run ssr to test live ?hydrate=0 vs ?hydrate=1 on http://localhost:3333.

Rendered on the Server at 2026-11-19T14:00:31.748Z Every component below was serialized in pure Node.js via renderComponentToDSD() into standard <template shadowrootmode="open">. Even with JavaScript disabled (?hydrate=0), Shadow DOM styles and slots paint immediately with zero FOUC or layout shift.

1. Server-Painted Actions

Buttons render with full Shadow DOM styling before client JS downloads. When hydrated, the primary button becomes reactive.

Interactive Hydrated Clicks: 0 Secondary Action Destructive Action

2. Telemetry & Status Primitives

Pure Node.js Edge Worker
Zero happy-dom · Zero bundler · Native ESM
Test Coverage96%
Edge Memory Headroom72%

Emitted Declarative Shadow DOM Output

Request path: / · Mode: DSD + Progressive Hydration