-
-
Save reime005/7cec230a783dde3e8ca1ff0951c8773f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* src/store/rootReducer.js */ | |
const TEST_INCREMENT_ACTION = "TEST_INCREMENT_ACTION"; | |
const RESET_ACTION = "RESET_ACTION"; | |
export const testIncremenReduxAction = ({ increment }) => ({ | |
type: TEST_INCREMENT_ACTION, | |
payload: increment | |
}); | |
export const resetAction = () => ({ | |
type: RESET_ACTION | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment