Skip to content

Wirestate API ​

Modules ​

ModuleDescription
wirestate-coreFramework-agnostic Wirestate APIs for containers, services, lifecycle, messaging, and dependency injection.
wirestate-core/devtoolsDevTools integration entrypoint for Wirestate: the DevToolsPlugin an application registers to expose its container tree to an inspector backend (a Chrome extension or a standalone dev panel).
wirestate-core/hotDevelopment-only hot-reload entrypoint for Wirestate: the runtime the @wirestate/dev bundler plugin and framework providers use to swap containers in place when service modules are hot-replaced.
wirestate-devBundler-agnostic core of the Wirestate development tooling: the source transform that wraps modules declaring @Injectable() classes in hot-reload markers. No parser is involved: the Wirestate runtime attributes classes to their module while it evaluates. Bundler adapters such as @wirestate/dev/vite build on these primitives.
wirestate-dev/viteVite plugin entrypoint for Wirestate hot reload: appends a self-accepting HMR footer to modules declaring @Injectable() classes, so a service edit swaps the affected containers in place instead of remounting (or silently rebuilding) the React tree.
wirestate-litLit integration APIs for container providers, injection decorators, and element-scoped message handlers.
wirestate-lit-mobxMobX Lit reactivity binding (Adobe's @adobe/lit-mobx) for Wirestate Lit services.
wirestate-lit-signalsPreact Signals Lit reactivity binding (@lit-labs/preact-signals) for Wirestate Lit services.
wirestate-mobxFramework-agnostic MobX re-exports with Wirestate-friendly decorator aliases.
wirestate-reactReact integration APIs for providers, injection hooks, and component-scoped message handlers.
wirestate-react-mobxMobX React reactivity binding (mobx-react-lite) for Wirestate React services.
wirestate-react-signalsPreact Signals React reactivity binding (@preact/signals-react) for Wirestate React services.
wirestate-signalsFramework-agnostic Preact Signals re-exports for Wirestate services.