Wirestate API
Modules
| Module | Description |
|---|---|
| wirestate-core | Framework-agnostic Wirestate APIs for containers, services, lifecycle, messaging, and dependency injection. |
| wirestate-core/devtools | DevTools 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/hot | Development-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-dev | Bundler-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/vite | Vite 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-lit | Lit integration APIs for container providers, injection decorators, and element-scoped message handlers. |
| wirestate-lit-mobx | MobX Lit reactivity binding (Adobe's @adobe/lit-mobx) for Wirestate Lit services. |
| wirestate-lit-signals | Preact Signals Lit reactivity binding (@lit-labs/preact-signals) for Wirestate Lit services. |
| wirestate-mobx | Framework-agnostic MobX re-exports with Wirestate-friendly decorator aliases. |
| wirestate-react | React integration APIs for providers, injection hooks, and component-scoped message handlers. |
| wirestate-react-mobx | MobX React reactivity binding (mobx-react-lite) for Wirestate React services. |
| wirestate-react-signals | Preact Signals React reactivity binding (@preact/signals-react) for Wirestate React services. |
| wirestate-signals | Framework-agnostic Preact Signals re-exports for Wirestate services. |