flo-bind

1.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i flo-bind

Weekly Downloads

2

Version

1.1.1

License

MIT

Last publish

Collaborators

  • joshrtay