Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
react-use-window-sizes
Advanced tools
A lightweight package to easily track window size in React.js
A lightweight package to easily track window width & height in React.js
Comes in handy for responsize design and animations
npm install react-use-window-sizes
import React from 'react'
import { useWindowSizes } from 'react-use-window-sizes'
function MyApp() {
const { width, height } = useWindowSizes();
console.log('width:', width, 'height:', height)
}
FAQs
A lightweight package to easily track window size in React.js
We found that react-use-window-sizes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.