wirestate
v1.0.0
Published
Compatibility package for Wirestate core, React, MobX, and Signals APIs
Downloads
578
Maintainers
Readme
wirestate [monorepo] [docs]
Compatibility package for the unscoped wirestate name.
This package is React-oriented. Lit users should install the scoped Lit packages directly.
New projects should prefer the scoped packages for the stack they use:
@wirestate/core,
@wirestate/react,
@wirestate/lit,
@wirestate/mobx,
@wirestate/signals,
@wirestate/react-mobx,
@wirestate/lit-mobx,
@wirestate/react-signals,
@wirestate/lit-signals.
Install
npm install wirestateExports
wirestatere-exports@wirestate/coreand@wirestate/react.wirestate/mobxre-exports@wirestate/mobxand@wirestate/react-mobx.wirestate/signalsre-exports@wirestate/signalsand@wirestate/react-signals.
Lit APIs are available from the scoped
@wirestate/lit,
@wirestate/lit-mobx, and
@wirestate/lit-signals packages.
Start
import { Injectable, Container } from "wirestate";
import { Action, Observable, makeObservable, observer } from "wirestate/mobx";
import { signal, useSignals } from "wirestate/signals";Learn More
License
MIT
