@cpro-js/react-app-state
Basically a re-export of state management utilities powered by mobx to enforce versions in our projects.
Installation
$ yarn add @cpro-js/react-app-state
Exports
See API-Reference from mobx for usage & description of the following exports:
import { IPromiseBasedObservable } from "mobx-utils";
export { configure } from "mobx";
export { makeAutoObservable, makeObservable, observable, computed } from "mobx";
export { action, runInAction, flow, flowResult } from "mobx";
export { values, keys, entries, get, has, set, remove } from "mobx";
export { autorun, reaction, when } from "mobx";
export { observer, Observer, disposeOnUnmount } from "mobx-react";
export { toJS } from "mobx";
export { trace } from "mobx";
export { fromPromise, computedFn } from "mobx-utils";
export type ObservablePromise<T> = IPromiseBasedObservable<T>;