项目作者: infinum

项目描述 :
Connector between Redux DevTools Extension and mobx-collection-store/mobx-jsonapi-store
高级语言: JavaScript
项目地址: git://github.com/infinum/mobx-store-devtools.git
创建时间: 2017-07-01T19:16:37Z
项目社区:https://github.com/infinum/mobx-store-devtools

开源协议:MIT License

下载


mobx-store-devtools

Connector between Redux DevTools Extension and mobx-collection-store/mobx-jsonapi-store

Installation

  1. npm install --save-dev mobx-store-devtools

Setup

  1. import {init} from 'mobx-store-devtools';
  2. import {Collection} from 'mobx-collection-store';
  3. const collection = new Collection();
  4. init(collection); // This can be any instance of the collection or jsonapi store

If you need to pass some options (e.g. remote), you can pass an options object as the second argument.

Store usage

For the store usage, check the mobx-collection-store and mobx-jsonapi-store docs.

License

The MIT License

Credits

mobx-store-devtools library is maintained and sponsored by
Infinum.