Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/apaleslimghost/enviante-react

connect react components to enviante stores
https://github.com/apaleslimghost/enviante-react

enviante meteor mobx react redux store

Last synced: 18 days ago
JSON representation

connect react components to enviante stores

Awesome Lists containing this project

README

        

# enviante-react

connect [react](https://facebook.github.io/react/) components to [enviante](https://github.com/quarterto/enviante) stores.

## usage

### example

```jsx
import createStore from 'enviante';
import {createObserve} from 'enviante-react';
const connect = createStore({count: 1});
const observe = createObserve(connect);

const Counter = observe((props, {subscribe, dispatch}) =>


{subscribe('count')}
dispatch('count', count => count + 1)} />
);
```

## licence

ISC