Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/apaleslimghost/enviante-react
- Owner: apaleslimghost
- Created: 2016-07-29T20:36:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-02T14:32:12.000Z (over 7 years ago)
- Last Synced: 2024-08-28T08:21:43.242Z (3 months ago)
- Topics: enviante, meteor, mobx, react, redux, store
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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