UNPKG

329 BJavaScriptView Raw
1"use strict";
2exports.hmrReducer = function (appReducer) { return function (state, _a) {
3 var type = _a.type, payload = _a.payload;
4 switch (type) {
5 case 'HMR_SET_STATE': return payload;
6 default: return appReducer(state, { type: type, payload: payload });
7 }
8}; };
9//# sourceMappingURL=hmr-reducer.js.map
\No newline at end of file