bound-compose
Create a bound composed function. using the redux#compose .
npm i bound-compose
Usage
// For example,// `boundCompose(f, g, h)(b)(...args)` is identical to doing// `(b, ...args) => f(g(h(b, ...args), ...args), ...args)` . let result;result = result = result = // ↓ result = // ↓ const result = arg...args // or const result = boundComposeleftdoSomething1 doSomething2 doSomething3arg...args
Contributing
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D
License
© sugarshin