AtomicaAtomica v0.3 — Overview and Map

Atomica is a tiny, signal-first view library with fine-grained DOM bindings. Components are plain functions; state changes update only the nodes that depend on that state. No renders, no lifecycles, no hooks.

v0.3 semantics locked · Repository: github.com/xgeoff/atomica

Core Doctrine

Document Map

Packages

Install and Include

Install Atomica from npm in your project:

npm install atomica
# or: pnpm add atomica
# or: yarn add atomica
# or: bun add atomica

Then import what you need in your app entry file:

import { h, mount, signal, computed, effect } from 'atomica';

Or import explicit subpaths:

import { signal, computed, effect, resource } from 'atomica/signals';
import { h, mount, Fragment, context } from 'atomica/dom';

Core APIs (v0.3)

Signals

import { signal, computed, effect, batch, untrack, resource } from 'atomica/signals';

DOM

Core DOM helpers are exported from atomica/dom. See the API reference for complete props and diagnostics.

import { h, mount, Fragment, context } from 'atomica/dom';

Reactive bindings

Diagnostics (dev-only)

Playgrounds and Examples

Build/Test

Status (v0.3 semantics locked)

Future (v0.2 semantics locked)

Semantics are frozen per docs/v0.2-design-contract.md; ergonomic tweaks must not violate invariants.