@openelement/signal
v0.41.0-alpha.1
Published
Reactive signals system for openElement, built on @preact/signals-core.
Maintainers
Readme
@openelement/signal
Reactive signals system for openElement, built on @preact/signals-core.
@openelement/signal provides the reactive primitive layer used by the
openElement rendering pipeline and island hydration system. It wraps
@preact/signals-core with
openElement-specific framework integration.
Install
npm install @openelement/signalExports
| Path | Description |
| ----------------- | ------------------------------------------------------------ |
| . | Public signals API (signal, computed, effect) |
| ./framework | Framework-level integration (setSignalEngine, engine access) |
| ./preact-engine | @preact/signals-core engine factory (createPreactEngine) |
Features
- Fine-grained reactivity with automatic dependency tracking.
- Computed signals with lazy evaluation.
- Effect system for side effects with cleanup.
- No framework lock-in — works with any Web Component.
License
MIT
