UNPKG

redux-vertical

Version:
11 lines 387 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * creates a handler for handleActions that will map and action and give you a * simpler interface to work with. */ function mapFromAction(mapAction, updater) { return (state, action) => updater(mapAction(action), state); } exports.default = mapFromAction; //# sourceMappingURL=map-from-action.js.map