Core/Packages/Runtime DOM
@sigx/runtime-dom · Stable

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.

v0.4.9 MIT

Installation#

You rarely install this directly — the sigx umbrella re-exports it:

Terminal
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 delegationonClick and friends attach once per root.
  • Hydration — pairs with @sigx/server-renderer to hydrate server-rendered HTML, selectively via islands.

Mount an app#

TSX
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.