diff --git a/src/index.js b/src/index.js index 5864dc33..4b3936ed 100644 --- a/src/index.js +++ b/src/index.js @@ -158,12 +158,9 @@ function createLoadableComponent(loadFn, options) { return init(); } - componentWillMount() { - this._loadModule(); - } - componentDidMount() { this._mounted = true; + this._loadModule(); } _loadModule() {