Resources / Zidom JS

API overview

The 10 packages and their current stability.

The package family#

Zidom's monorepo contains ten experimental beta packages. The public API inventory and TypeScript snapshot track actual exports; this is not a 1.0 API freeze. All ten packages have been published at 0.1.0-beta.2 under npm's next dist-tag. The interactive documentation website remains pinned to Beta.1 until separately migrated and tested.

Core runtime#

  • @zidomjs/core — signal, computed, effect, batch, untrack, scopes and cleanup. Learn signals.
  • @zidomjs/dom — JSX runtime, mount, For, Portal, signal/getter binding, refs and event cleanup. Also exports JSX runtime entrypoints. Learn rendering.

Application libraries#

  • @zidomjs/router — nested browser routes, guards, loaders, history and navigation cancellation. Routing.
  • @zidomjs/query — server-state cache, request deduplication, retry, stale-time and abort support. Data fetching.
  • @zidomjs/store — top-level field-selective shared state and selectors. Stores & DI.
  • @zidomjs/di — typed tokens and hierarchical service containers. Stores & DI.
  • @zidomjs/forms — flat typed fields, validation and submissions. Forms.

Experimental tools#

  • @zidomjs/compiler — optional TSX transform with conservative local-signal detection. Compiler.
  • @zidomjs/vite — experimental Vite integration and intentional full-page reload on TSX edits. Vite.
  • @zidomjs/server — escaped synchronous SSR and limited opt-in hydration. SSR.

Example: only two runtime packages#

tsx
●  Zidom
import { signal } from '@zidomjs/core';import { mount } from '@zidomjs/dom';const count = signal(0);mount(() => <button onClick={() => count.value++}>  Count: {count}</button>, document.getElementById('app')!);

Stability and deeper signatures#

core, DOM JSX entrypoints, router, query, forms, store and DI are beta candidates, not yet guaranteed stable. Compiler, Vite, server, hydration and DOM template/security subpaths are experimental. Refer to the maintained public API inventory and declaration snapshot for complete current signatures.

API demos#

Browse the working examples gallery for the real runtime alongside each matching source file. Compiler, Vite and SSR entries include build-time examples rather than pretending to run those tools in a browser.