Last active
August 23, 2016 23:19
-
-
Save wende/e1c9ed538c27ebd1213f8229c03ea5f7 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
[action.type, matchedKey, "_"].reduce( (acc, a) => | |
acc || handlers.hasOwnProperty(a) && handlers[a](state, action) | |
, null) || state |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment