0.0.3 • Published 6 years ago
redux-logger-simple v0.0.3
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