Skip to content

Instantly share code, notes, and snippets.

@vzaidman
Last active October 7, 2017 18:36
Show Gist options
  • Save vzaidman/2d303de519c9a488e8abc031059774e6 to your computer and use it in GitHub Desktop.
Save vzaidman/2d303de519c9a488e8abc031059774e6 to your computer and use it in GitHub Desktop.
Actions in redux toolbelt
import { makeActionCreator } from 'redux-toolbelt'
export const increaseBy = makeActionCreator('INCREASE_BY')
export const decreaseBy = makeActionCreator('DECREASE_BY')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment