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

Package detail

redux-log

joshrtay24MIT2.0.0

Simple log of redux actions, good for testing.

readme

redux-log

Build status Git tag NPM version Code style

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