
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
react-hooky
Advanced tools
Since the appearance of hooks in React, many packages have been published for various purposes, and in a reason to not pull many new small dependencies, most of them are combined in this package through re-export.
This package proxies dependencies and does not need to be compiled. It's built upon ES6 Modules for webpack and rollup and tree-shaking support.
A bundle size is optimized by bundler when used with ESM modules, so keep calm and feel free to use the package.
Using Yarn
yarn add react-hooky
or NPM
npm install react-hooky
<Audio /> <Preload /> <Script /> <Stylesheet /> <Video /> useDeviceMotionuseDeviceOrientationuseGeoPositionuseIntersectionObserveruseMediauseNetworkStatususeWindowScrollPositionuseWindowSizecreateMemouseAsyncuseAudiouseBatteryuseBooleanuseCounteruseCssuseFaviconuseGeolocationuseGetSetuseGetSetStateuseHoveruseIdleuseLifecyclesuseListuseLocalStorageuseLocationuseLoggeruseMapuseMediaDevicesuseMotionuseMountuseNetworkuseNumberuseObservableuseOrientationuseRafuseSetStateuseSizeuseSpeechuseSpringuseTimeoutuseTitleuseToggleuseTweenuseUnmountuseWindowSize as useWindowSizeUuseMedia as useMediaUuseOnClickOutsideuseSubstate and SubstateProviderFeel free to pull your request of hooks and keep agreement of conventional commits.
hooky means?The -y (i) suffix in Russian is just like -s (-es) in English and usable for plural form of a word.
MIT
FAQs
React.js hooks collection all-in-one
We found that react-hooky 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.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.