Runtime DOM
The DOM renderer — this is SignalX on the web. Web isn't a platform you switch to; it's the default render target that ships inside the core repo.
Installation
You rarely install this directly — the sigx umbrella re-exports it:
pnpm add sigx # reactivity + runtime-core + runtime-dom
pnpm add @sigx/runtime-dom # direct, for custom setups
What it does
@sigx/runtime-dom binds the renderer-agnostic component model from @sigx/runtime-core to the browser DOM:
- Fine-grained DOM patches — a changed signal updates exactly the text nodes, attributes and properties that read it. No virtual DOM.
- Event delegation —
onClickand friends attach once per root. - Hydration — pairs with
@sigx/server-rendererto hydrate server-rendered HTML, selectively via islands.
Mount an app
import { createApp } from 'sigx';
import { App } from './App';
createApp(App).mount('#root');
The renderer family
Every target implements the same RuntimeRenderer contract — this one for the DOM, @sigx/lynx-runtime for native views, @sigx/terminal for cells. Same components, different surfaces.
Next steps
See Usage, or start with the Core getting-started guide.
