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)