Socket
Socket
Sign inDemoInstall

@custom-react-hooks/use-on-screen

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@custom-react-hooks/use-on-screen - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

2

package.json
{
"name": "@custom-react-hooks/use-on-screen",
"version": "1.5.0",
"version": "1.5.1",
"author": "Bane Grozdanovic <banegrozdanovic@gmail.com>",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -38,2 +38,13 @@ # useOnScreen Hook

## Importing the Hook
The `useOnScreen` hook must be imported using a named import as shown below:
**Named Import:**
```javascript
import { useOnScreen } from '@custom-react-hooks/use-on-screen';
```
This approach ensures that the hook integrates seamlessly into your project, maintaining consistency and predictability in how you use our package.
## Usage

@@ -40,0 +51,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