Created
December 8, 2017 13:02
-
-
Save vzaidman/0457f4eb0a71ada08f494f1039290568 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import {increaseBy} from 'actions' | |
export const countReducer = makeReducer(increaseBy, | |
(state, {payload}) => state + payload, | |
{defaultState: 100} | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment