@lyo/mobx

5.9.4 • Public • Published

@lyo/mobx

A browser-compatible version of mobx built automatically with Lyo.

Version Build Hits

Usage

In a browser

<script src="https://cdn.jsdelivr.net/npm/@lyo/mobx"></script>

<script>
  mobx.Reaction(foo, bar, baz);
  mobx.untracked(foo);
  mobx.createAtom(foo, bar, baz);
  mobx.spy(foo);
  mobx.isObservableObject(foo);
  mobx.isBoxedObservable(foo);
  mobx.isObservableArray(foo);
  mobx.ObservableMap(foo, bar, baz);
  mobx.isObservableMap(foo);
  mobx.ObservableSet(foo, bar, baz);
  mobx.isObservableSet(foo);
  mobx.transaction(foo, bar);
  mobx.observable(foo, bar, baz);
  mobx.computed(foo, bar, baz);
  mobx.isObservable(foo);
  mobx.isObservableProp(foo, bar);
  mobx.isComputed(foo);
  mobx.isComputedProp(foo, bar);
  mobx.extendObservable(foo, bar, baz, qux);
  mobx.observe(foo, bar, baz, qux);
  mobx.intercept(foo, bar, baz);
  mobx.autorun(foo, bar);
  mobx.reaction(foo, bar, baz);
  mobx.when(foo, bar, baz);
  mobx.action(foo, bar, baz, qux);
  mobx.isAction(foo);
  mobx.runInAction(foo, bar);
  mobx.keys(foo);
  mobx.values(foo);
  mobx.entries(foo);
  mobx.set(foo, bar, baz);
  mobx.remove(foo, bar);
  mobx.has(foo, bar);
  mobx.get(foo, bar);
  mobx.decorate(foo, bar);
  mobx.configure(foo);
  mobx.onBecomeObserved(foo, bar, baz);
  mobx.onBecomeUnobserved(foo, bar, baz);
  mobx.flow(foo);
  mobx.toJS(foo, bar);
  mobx.trace();
  mobx.getDependencyTree(foo, bar);
  mobx.getObserverTree(foo, bar);
  mobx._resetGlobalState();
  mobx._getGlobalState();
  mobx.getDebugName(foo, bar);
  mobx.getAtom(foo, bar);
  mobx._getAdministration(foo, bar);
  mobx._allowStateChanges(foo, bar);
  mobx._allowStateChangesInsideComputed(foo);
  mobx.isArrayLike(foo);
  mobx._isComputingDerivation();
  mobx.onReactionError(foo);
  mobx._interceptReads(foo, bar, baz);
</script>

In Node.js

# Install
npm i @lyo/mobx
const mobx = require('@lyo/mobx')

mobx.Reaction(foo, bar, baz);
mobx.untracked(foo);
mobx.createAtom(foo, bar, baz);
mobx.spy(foo);
mobx.isObservableObject(foo);
mobx.isBoxedObservable(foo);
mobx.isObservableArray(foo);
mobx.ObservableMap(foo, bar, baz);
mobx.isObservableMap(foo);
mobx.ObservableSet(foo, bar, baz);
mobx.isObservableSet(foo);
mobx.transaction(foo, bar);
mobx.observable(foo, bar, baz);
mobx.computed(foo, bar, baz);
mobx.isObservable(foo);
mobx.isObservableProp(foo, bar);
mobx.isComputed(foo);
mobx.isComputedProp(foo, bar);
mobx.extendObservable(foo, bar, baz, qux);
mobx.observe(foo, bar, baz, qux);
mobx.intercept(foo, bar, baz);
mobx.autorun(foo, bar);
mobx.reaction(foo, bar, baz);
mobx.when(foo, bar, baz);
mobx.action(foo, bar, baz, qux);
mobx.isAction(foo);
mobx.runInAction(foo, bar);
mobx.keys(foo);
mobx.values(foo);
mobx.entries(foo);
mobx.set(foo, bar, baz);
mobx.remove(foo, bar);
mobx.has(foo, bar);
mobx.get(foo, bar);
mobx.decorate(foo, bar);
mobx.configure(foo);
mobx.onBecomeObserved(foo, bar, baz);
mobx.onBecomeUnobserved(foo, bar, baz);
mobx.flow(foo);
mobx.toJS(foo, bar);
mobx.trace();
mobx.getDependencyTree(foo, bar);
mobx.getObserverTree(foo, bar);
mobx._resetGlobalState();
mobx._getGlobalState();
mobx.getDebugName(foo, bar);
mobx.getAtom(foo, bar);
mobx._getAdministration(foo, bar);
mobx._allowStateChanges(foo, bar);
mobx._allowStateChangesInsideComputed(foo);
mobx.isArrayLike(foo);
mobx._isComputingDerivation();
mobx.onReactionError(foo);
mobx._interceptReads(foo, bar, baz);

Disclaimer

This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.

Use at your own risk

Readme

Keywords

none

Package Sidebar

Install

npm i @lyo/mobx

Weekly Downloads

1

Version

5.9.4

License

MIT

Unpacked Size

70.2 kB

Total Files

3

Last publish

Collaborators

  • lyo