Skip to content

Instantly share code, notes, and snippets.

@mvbattan
Created December 11, 2017 17:39
Show Gist options
  • Save mvbattan/bfd77ef2505205dc0d7a9da0124c083a to your computer and use it in GitHub Desktop.
Save mvbattan/bfd77ef2505205dc0d7a9da0124c083a to your computer and use it in GitHub Desktop.
Complete reducer
const reducerDescription: {
primaryActions: [actions.GET_MATCHES, actions.GET_PITCHES],
override: {
[actions.INCREMENT_COUNTER]: onAdd()
}
}
export default createReducer(initialState, completeReducer(reducerDescription))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment