Redux Reducer Timer
Time your redux reducers
Install
npm i --save redux-reducer-timer
Quick start
var createTimer = require('redux-reducer-timer')
var { createStore, applyMiddleware } = require('redux')
var reducers = require('./path/to/reducers.js')
var store = createStore(
reducers,
applyMiddleware(
createTimer({predicate: () => true}), // Put timer before any middleware you want to include in the timing
/* other middleware goes here */
)
)
module.exports = store