Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cpro-js/react-app-state

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cpro-js/react-app-state

Basically a re-export of state management utilities powered by mobx to enforce versions in our projects.

  • 0.3.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

@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:

// config
import { IPromiseBasedObservable } from "mobx-utils";

export { configure } from "mobx";

// Creating observables
export { makeAutoObservable, makeObservable, observable, computed } from "mobx";

// Actions
export { action, runInAction, flow, flowResult } from "mobx";

// Collection utilities
export { values, keys, entries, get, has, set, remove } from "mobx";

// Reactions
export { autorun, reaction, when } from "mobx";

// react
export { observer, Observer, disposeOnUnmount } from "mobx-react";

// utilies
export { toJS } from "mobx";

// debug, see https://mobx.js.org/analyzing-reactivity.html
export { trace } from "mobx";

// utils
export { fromPromise, computedFn } from "mobx-utils";
export type ObservablePromise<T> = IPromiseBasedObservable<T>;

FAQs

Package last updated on 07 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc