redux-logger-simple

0.0.3 • Public • Published

Redux Logger Simple

A (simple) Redux middleware to log actions and state to the console when actions are dispatched.

redux-logger-simple screenshot

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

Package Sidebar

Install

npm i redux-logger-simple

Weekly Downloads

66

Version

0.0.3

License

MIT

Unpacked Size

2.82 kB

Total Files

4

Last publish

Collaborators

  • codyreichert