redux-log
v2.0.0
Published
Simple log of redux actions, good for testing.
Downloads
24
Readme
redux-log
Simple log of redux actions, good for testing.
Installation
$ npm install redux-log
Usage
import reduxLog from 'redux-log'
import flow, {flo} from 'redux-flo'
import bind from '@f/bind-middleware'
var log = []
var io = bind([reduxLog(log)])
io({type: 'FETCH'})
log // => [{type: 'FETCH'}]
API
reduxLog(log)
log
- an array to store the actions in
Returns: redux style middleware
License
MIT