diff --git a/src/index.js b/src/index.js index 14b5bfa3..10bf608d 100644 --- a/src/index.js +++ b/src/index.js @@ -158,7 +158,7 @@ function createLoadableComponent(loadFn, options) { return init(); } - componentWillMount() { + componentDidMount() { this._mounted = true; this._loadModule(); }