Socket
Socket
Sign inDemoInstall

react-loadable

Package Overview
Dependencies
3
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.1.0

2

lib/index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc