Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-delayload

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-delayload - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

example/test-dom.jsx
import React from 'react'
import {delayload as _delayload} from '../src/delayload.jsx'
import {delayload} from '../src/delayload.jsx'

@@ -14,3 +14,3 @@

for (let i = 0; i < images.length; ++i) {
_delayload(images[i], {
delayload(images[i], {
height: 600

@@ -17,0 +17,0 @@ //, threshold: 300

@@ -16,3 +16,3 @@ {

"author": "Nickel Jianhui Zhu <nickeljew@hotmail.com>",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",

@@ -19,0 +19,0 @@ "private": false,

@@ -51,3 +51,3 @@ # React-DelayLoad

```
import {delayload as _delayload} from 'react-delayload'
import {delayload} from 'react-delayload'
```

@@ -60,3 +60,3 @@

for (let i = 0; i < images.length; ++i) {
_delayload(images[i])
delayload(images[i])
}

@@ -63,0 +63,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc