Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

flo-bind

joshrtay16MIT1.1.1

Flo bind.

readme

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