Skip to content

Sometic Preact

npm@sometic/preact

Thin Preact external-store adapter for Sometic state with snapshot and subscription APIs.

ExperimentalActive
Verdict

Experimental

Compatibility is possible but still being validated for production Preact use.

Overview

`@sometic/preact` adapts `@sometic/store` to Preact's external-store shape. Its main export, `createPreactStoreBind`, exposes `getSnapshot`, `subscribe`, `set`, the underlying store, and explicit disposal without maintaining a separate Preact-specific state engine.