Gluon node package · 1.10.0

@gluonjs/ssr

DOM-independent server rendering and request isolation for Gluon.

Runtimenode
Version1.10.0
LicenseMIT
Public entry points5

Install and start

Install the public package at the same version as the rest of the Gluon train:

shell
npm install @gluonjs/ssr
ts
import { renderToString } from '@gluonjs/ssr';
import { html } from '@gluonjs/core';

const markup = await renderToString(html`<main>Hello</main>`);

Purpose

DOM-independent server rendering and request isolation for Gluon.

Use cases

  • Server rendering, streaming, static generation, and hydration handoff.
  • Request-local effect scopes and declarative ShadowRoot output.
  • Shared public component definitions between browser and server.

Public entry points

Only these package exports are part of the supported public boundary.

Dependencies and peers

Installed dependencies

  • @gluonjs/core · runtime dependency
  • @gluonjs/reactivity · runtime dependency
  • @gluonjs/router · runtime dependency
  • @gluonjs/store · runtime dependency

Peer dependencies

  • @gluonjs/core@1.10.0 · optional

API reference

Open an entry point above for generated symbol documentation and a reviewed example for every public symbol. Application code must import from this package entry point, never from repository source paths.

Scope and limits

  • Does not replace browser ownership or client hydration logic.
  • Rendered output still depends on public component definitions.

Related guides

Verified integration notes

  • Depends on `@gluonjs/core`, `@gluonjs/reactivity`, `@gluonjs/router`, and `@gluonjs/store`.
  • Exports `.` plus `./eleventy`, `./hydration`, `./static`, and `./streaming`.