How do I allow for multiple statements in my reducer?

Viewed 552

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?

2 Answers
Related