react-lazy-loadable
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -161,2 +161,4 @@ 'use strict'; | ||
}; | ||
_this._loadModule(); | ||
return _this; | ||
@@ -169,5 +171,4 @@ } | ||
LoadableComponent.prototype.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() { | ||
LoadableComponent.prototype.componentDidMount = function componentDidMount() { | ||
this._mounted = true; | ||
this._loadModule(); | ||
}; | ||
@@ -174,0 +175,0 @@ |
{ | ||
"name": "react-lazy-loadable", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A higher order component for loading components with promises", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
53164