react-torch
Version:
A lib to server-side render with react.
20 lines (19 loc) • 726 B
JavaScript
;
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.hooks = exports.run = void 0;
var hook_1 = require("./hook");
exports.run = (_a = (0, hook_1.createHooks)({
setupStore: function () {
throw new Error("setupStore can't not be called after initilizing");
},
setupStart: function () {
throw new Error("setupStartCallback can't not be called after initilizing");
},
setupFinish: function () {
throw new Error("setupFinishCallback can't not be called after initilizing");
},
setupPreload: function () {
throw new Error("setupPreloadCallback can't not be called after initilizing");
},
}), _a.run), exports.hooks = _a.hooks;