Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (20 loc) · 558 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 558 Bytes

redux-diff-middleware

Redux diff logger middelware

npm version

Install

npm install --save redux-diff-middleware

Usage

Add as middleware:

import { applyMiddleware, createStore } from 'redux';
import diff from 'redux-diff-middleware';
import reducers from './reducers';

const middleware = [
    diff()
];

const store = applyMiddleware(...middleware)(createStore)(reducers);

License

MIT