0.1.3 • Published 6 years ago

reactive-mobx-state v0.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Reactive Mobx State

Micro reactive state management solution on top of RxJS Mobx and Immer.

Exposes one function : getReactiveState

Usage

import getReactiveState from 'reactive-mobx-state'
const const {
  getState,
  setState,
  state$,
  destroy,
  destroy$
} = getRxState("counter", {
  tick: 0
});

API

import getReactiveState from 'reactive-mobx-state'
// OR
const getReactiveState = require('reactive-mobx-state').default

Install

This is a micro library, and as such, does very little. It provides a React like abstraction on top of the following libraries :

If you don't use any of these libraries in your code already

This might not be the library for you. (But check them out !)

If you want to go on anyway, install the following dependencies :

yarn add mobx mobx-utils rxjs immer

Then

yarn add reactive-mobx-state

or

npm i -S reactive-mobx-state

License

MIT

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.0.98

6 years ago

0.0.97

6 years ago

0.0.96

6 years ago

0.0.95

6 years ago

0.0.94

6 years ago

0.0.93

6 years ago

0.0.92

6 years ago

0.0.91

6 years ago