Skip to content
Persist
Esc
navigateopen⌘Jpreview

Concepts

Seam model, storage and codec choice, lifecycle, entry points, and how Persist compares to other libraries.

Three seams — backend, codec, source — so swapping storage, serialization, or store never rewrites the call site. The full API contract lives in the JSDoc of each module.

Page Topic
The three seams Backend × codec × source
Choosing a storage Sync vs async, cross-tab, structured-clone
Choosing a codec JSON, seroval, Standard Schema, identity
Lifecycle Hydrate, write, destroy, errors
Entry points Subpaths and optional peers
Comparison vs zustand-persist, redux-persist, pinia-persist

Last updated on July 22, 2026

Was this page helpful?