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

react-in-viewport

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-in-viewport - npm Package Compare versions

Comparing version 1.0.0-alpha.15 to 1.0.0-alpha.16

2

dist/es/lib/useInViewport.js

@@ -98,3 +98,3 @@ "use strict";

};
}, [target, options, config, onEnterViewport, onLeaveViewport]);
}, [target.current, options, config, onEnterViewport, onLeaveViewport]);
return {

@@ -101,0 +101,0 @@ inViewport: inViewportRef.current,

@@ -97,3 +97,3 @@ "use strict";

};
}, [target, options, config, onEnterViewport, onLeaveViewport]);
}, [target.current, options, config, onEnterViewport, onLeaveViewport]);
return {

@@ -100,0 +100,0 @@ inViewport: inViewportRef.current,

@@ -91,3 +91,3 @@ // React hooks

};
}, [target, options, config, onEnterViewport, onLeaveViewport]);
}, [target.current, options, config, onEnterViewport, onLeaveViewport]);
return {

@@ -94,0 +94,0 @@ inViewport: inViewportRef.current,

@@ -106,3 +106,3 @@ (function (global, factory) {

};
}, [target, options, config, onEnterViewport, onLeaveViewport]);
}, [target.current, options, config, onEnterViewport, onLeaveViewport]);
return {

@@ -109,0 +109,0 @@ inViewport: inViewportRef.current,

{
"name": "react-in-viewport",
"version": "1.0.0-alpha.15",
"version": "1.0.0-alpha.16",
"description": "Track React component in viewport using Intersection Observer API",

@@ -5,0 +5,0 @@ "author": "Roderick Hsiao <roderickhsiao@gmail.com>",

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