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

https://github.com/nichoth/vdom-curry

Partially apply an idiomatic mercury component
https://github.com/nichoth/vdom-curry

Last synced: 5 months ago
JSON representation

Partially apply an idiomatic mercury component

Awesome Lists containing this project

README

          

# vdom curry

Curry a vdom component.

## install

$ npm install vdom-curry

## example

```js
var curry = require('vdom-curry');
var curried = curry(MyComponent, { value: 'example' });
var moreCurry = curry(curried, { valueTwo: 'example two' });
var state = moreCurry();
moreCurry.render(state); // same as MyComponent.render(state)
```