react-in-viewport
Advanced tools
Comparing version 1.0.0-alpha.15 to 1.0.0-alpha.16
@@ -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>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79788