redux-logger-simple
v0.0.3
Published
Simple logger middleware for Redux
Downloads
385
Maintainers
Readme
Redux Logger Simple
A (simple) Redux middleware to log actions and state to the console when actions are dispatched.
Installation
Install package
$ npm i redux-logger-simple
Add middleware
import logger from 'redux-logger-simple'
// Add logger to `createStore` middlewares
createStore(
...,
...,
...applyMiddleware(...<other middleware>, logger)
)
License
MIT
codys.club · GitHub @CodyReichert · Twitter @CodyReichert