Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ali322/mobx-container

simple mobx container for react component
https://github.com/ali322/mobx-container

frp-library mobx mobx-react react react-native

Last synced: 10 days ago
JSON representation

simple mobx container for react component

Awesome Lists containing this project

README

        

Mobx Container [![npm version](https://badge.fury.io/js/mobx-container.svg)](https://badge.fury.io/js/mobx-container)
===
[![NPM](https://nodei.co/npm/mobx-container.png)](https://nodei.co/npm/mobx-container/)

simple mobx container for react component

Install
===

```javascript
npm install mobx-container --save
```

Useage
===

use it in ES7 decorator or plain function

```javascript
@container(stores,mapperFunction)
class App extends Component{
render(){}
}
```

## Todo

- fix some unknow bugs
- add more api documents

## License

[MIT License](http://en.wikipedia.org/wiki/MIT_License)