Coherent.js

Fast SSR and hydration with plain JS objects. Minimal API. Maximum clarity.

CoverageversionCI Status

Install

pnpm add @coherent.js/core

Why Coherent.js?

  • Object-based components

    Author UI as plain JS objects. Zero JSX required.

  • SSR-first, hydrable

    Render on the server and hydrate on the client when needed.

  • Performance

    Outperforms Express and raw Node in API benchmarks.

  • Tiny surface area

    Small API, easy mental model, fast to adopt.

Live Hydration Demo

This counter uses Phase 2 hydration: event delegation, state serialization, and the clean hydrate() API.

Count: 0
Check DevTools console for hydration logs. State persists in data-state attribute.