diff --git a/src/components/async.js b/src/components/async.js index 9311fc67a..6f390ac9d 100644 --- a/src/components/async.js +++ b/src/components/async.js @@ -10,6 +10,7 @@ export default function(load) { if (r && r.then) r.then(done); } Async.prototype = new Component; + Async.prototype.constructor = Async; Async.prototype.render = (props, state) => h(state.child, props); return Async; }