I am forced to use the redux-actions. In my reducer this code works:
return handleActions({
[FOOBAR]: (state) => ({
...state, value: 'the user clicked something 2'
})
}, {})
However, in the reducer I would like to console.log some stuff. How do I do this?