react-loadable
Advanced tools
Comparing version 5.0.0 to 5.1.0
@@ -130,3 +130,3 @@ 'use strict'; | ||
LoadableComponent.preload = function preload() { | ||
init(); | ||
return init(); | ||
}; | ||
@@ -133,0 +133,0 @@ |
{ | ||
"name": "react-loadable", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"description": "A higher order component for loading components with promises", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -199,6 +199,2 @@ # `react-loadable` | ||
> **Note:** `preload()` intentionally does not return a promise. You should not | ||
> be depending on the timing of `preload()`. It's meant as a performance | ||
> optimization, not for creating UI logic. | ||
### `Loadable.Map` | ||
@@ -205,0 +201,0 @@ |
16275
336