Skip to content

wirestate-lit-mobx

MobX Lit reactivity binding (Adobe's @adobe/lit-mobx) for Wirestate Lit services.

Observable service state is defined with @wirestate/mobx. This package wires those observables into Lit rendering through Adobe's @adobe/lit-mobx adapter.

Classes

ClassDescription
MobxLitElementA LitElement derived class which uses the MobxReactionUpdate mixin to create a mobx reactive implementation of LitElement.

Functions

FunctionDescription
MobxReactionUpdateA class mixin which can be applied to lit-element's ReactiveElement derived classes. This mixin adds a mobx reaction which tracks the update method of ReactiveElement.

MobX Lit

Type AliasDescription
ReactiveElementConstructor-