re: You've been doing mapDispatchToProps wrong this entire time VIEW POST

FULL DISCUSSION
 

I've started with that method (I was using the redux-actions library to create my action creators), but reverted to the old method while using rematch as the action creators will be children of dispatch. from

connect(null, {
  increment
})

it becomes this

connect(null, ({ Counter: { increment }}) => ({
  increment
}))
code of conduct - report abuse