github LogRocket/redux-logger 2.8.1
2.8.1 — action.type implicitly converts to string

latest releases: beta-4.0.0-rc2, beta-4.0.0, 3.0.6...
7 years ago

Remember this recipe?

import createLogger from 'redux-logger';

const logger = createLogger({
  actionTransformer: (action) => ({
    ...action,
    type: String(action.type),
  })
});

No more!

Changelog

  • feat: implicitly convert action.type to String() in console.log (#195, #194, #106, #129, #128, #14, etc)

Don't miss a new redux-logger release

NewReleases is sending notifications on new releases.