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

@shopify/react-intersection-observer

Package Overview
Dependencies
Maintainers
19
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-intersection-observer - npm Package Compare versions

Comparing version 3.1.10 to 3.1.11-react-18-react-testing-beta.0

8

package.json
{
"name": "@shopify/react-intersection-observer",
"version": "3.1.10",
"version": "3.1.11-react-18-react-testing-beta.0",
"license": "MIT",

@@ -35,3 +35,3 @@ "description": "A React wrapper around the Intersection Observer API",

"peerDependencies": {
"react": ">=16.8.0 <18.0.0"
"react": ">=16.8.0"
},

@@ -46,5 +46,5 @@ "module": "index.mjs",

},
"./*": "./"
"./*": "./*"
},
"gitHead": "82524f19df95eab93f7dcd0a8535bc45562d85c8"
"gitHead": "5ee3fdd384fd9d706d9257aee4de5685c50a3f4a"
}

@@ -55,3 +55,5 @@ # `@shopify/react-intersection-observer`

threshold={1}
onIntersecting={(entry) => console.log('intersectionRatio > 0', entry)}
onIntersectionChange={(entry) =>
console.log('intersectionRatio > 0', entry)
}
onNotIntersecting={(entry) => console.log('intersectionRatio = 0', entry)}

@@ -58,0 +60,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