Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const logger = store => dispatch => action => {
- console.log("%cprev :", "color: #2ecc71", store.getState())
- console.log("%caction :", "color: #3498db", action, "\n\n")
- return dispatch(action);
- }
Add Comment
Please, Sign In to add comment