Skip to content

Composition

Status: Stable (guidance)

Previous: Transforms · Next: Recipes

@jayoncode/storage has no runtime dependency on other @jayoncode/* packages. Compose in app code.

Browser Lifecycle

Persist from app handlers (e.g. on hidden / pagehide) — Storage does not subscribe to lifecycle APIs.

Object Diff

Diff or patch in the app, then storage.set the result. Undo/history is not a shipped Storage capability.

Form Intelligence

FI owns draft UX. Storage may hold opaque blobs later; it does not replace FI drafts.

Dogfood: Object Diff playground shell prefs use Storage without a package dependency edge.

Live composition: Draft Desk wires Storage with Form Intelligence, Object Diff, and Browser Lifecycle in one official reference app.

See also: Recipes · Overview

An ecosystem of independent, headless TypeScript libraries engineered for modern web development. Every package includes interactive playgrounds and documentation that evolves alongside the code.