redux-thunk-catch
Version:
Thunk middleware alternative for Redux, with error handling support.
1 lines • 744 B
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ReduxThunk=e():t.ReduxThunk=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e){"use strict";function n(t,e){return function(n){var r=n.dispatch,o=n.getState;return function(n){return function(u){if("function"==typeof u)try{return u(r,o,e)}catch(e){return t(e,o(),u,r),e}try{return n(u)}catch(e){return t(e,o(),u,r),e}}}}}e.__esModule=!0,e.default=n}])});