react-in-viewport
Advanced tools
Comparing version 1.0.0-alpha.7 to 1.0.0-alpha.8
@@ -71,3 +71,3 @@ "use strict"; | ||
// disconnect obsever on leave | ||
stopObserver(); | ||
observer.current.disconnect(); | ||
} | ||
@@ -74,0 +74,0 @@ |
@@ -71,3 +71,3 @@ "use strict"; | ||
// disconnect obsever on leave | ||
stopObserver(); | ||
observer.current.disconnect(); | ||
} | ||
@@ -74,0 +74,0 @@ |
@@ -65,3 +65,3 @@ // React hooks | ||
// disconnect obsever on leave | ||
stopObserver(); | ||
observer.current.disconnect(); | ||
} | ||
@@ -68,0 +68,0 @@ |
@@ -80,3 +80,3 @@ (function (global, factory) { | ||
// disconnect obsever on leave | ||
stopObserver(); | ||
observer.current.disconnect(); | ||
} | ||
@@ -83,0 +83,0 @@ |
{ | ||
"name": "react-in-viewport", | ||
"version": "1.0.0-alpha.7", | ||
"version": "1.0.0-alpha.8", | ||
"description": "Track React component in viewport using Intersection Observer API", | ||
@@ -5,0 +5,0 @@ "author": "Roderick Hsiao <roderickhsiao@gmail.com>", |
117427