Coherent.js

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

version
const App = () => ({
  div: {
    className: 'app',
    children: [
      { h1: { text: 'Hello World' } },
      { p: { text: 'Pure objects. Zero JSX.' } }
    ]
  }
});

Install

pnpm add @coherent.js/core

Why Coherent.js?

  • 🧩

    Object-Based Components

    Author UI as plain JS objects. Zero JSX, zero build step required for core rendering.

  • 🏝️

    Islands Architecture

    Ship zero JavaScript by default. Only hydrate the interactive parts of your page.

  • 🔧

    FP-First Patterns

    Built-in composition tools (HOCs, pipe, combine) for functional programming lovers.

  • Extreme Performance

    50x faster cache key generation and streaming SSR for lightning-fast responses.

🏝️ Live Island Demo

This counter is an "Island". Only this component is hydrated, while the rest of the page remains static and zero-JS.

Count: 0
Only this Island is interactive. Check DevTools console for hydration logs.