1.1.1 • Published 8 years ago

flo-bind v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

flo-bind

Build status Git tag NPM version Code style

Bind a redux middleware stack that has redux-flo at the top.

Installation

$ npm install flo-bind

Usage

import flob from 'flo-bind'
import rlog from 'redux-log'

let arr = []
let log = flob(rlog(arr))

log(function * () {
  yield 'hello'
  yield 'world'
})

arr // => ['hello', 'world']

API

flo-bind(...mw)

  • mw - redux middleware

Returns: a function that dispatches actions to the middleware stack

License

MIT