react-in-viewport
Advanced tools
Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.5
@@ -103,6 +103,2 @@ "use strict"; | ||
} | ||
return () => { | ||
stopObserver(); | ||
}; | ||
}); | ||
@@ -109,0 +105,0 @@ return { |
@@ -103,6 +103,2 @@ "use strict"; | ||
} | ||
return function () { | ||
stopObserver(); | ||
}; | ||
}); | ||
@@ -109,0 +105,0 @@ return { |
@@ -97,6 +97,2 @@ // React hooks | ||
} | ||
return function () { | ||
stopObserver(); | ||
}; | ||
}); | ||
@@ -103,0 +99,0 @@ return { |
@@ -112,6 +112,2 @@ (function (global, factory) { | ||
} | ||
return function () { | ||
stopObserver(); | ||
}; | ||
}); | ||
@@ -118,0 +114,0 @@ return { |
{ | ||
"name": "react-in-viewport", | ||
"version": "1.0.0-alpha.4", | ||
"version": "1.0.0-alpha.5", | ||
"description": "Track React component in viewport using Intersection Observer API", | ||
@@ -5,0 +5,0 @@ "author": "Roderick Hsiao <roderickhsiao@gmail.com>", |
260391
5063