
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
reactanimationonscreen
Advanced tools
React Animation On Screen is a custom hook to track if an element is on screen and apply some CSS to it.
React Animation On Screen is a custom React hook to check when an element is appearing on the screen and apply some animation to it.
npm install reactanimationonscreen
Initiate the function inside an useEffect passing the classname of the elements you want to apply the animation, your css classname with the animation to be applied, y offset amount to apply the animation and if you want to use a debounce function to improve performance.
import useOnScreen from "reactanimationonscreen";
useEffect(() => {
const sections = useOnScreen("sectionDiv", "sectionAnimation", 0, true);
}, []);
FAQs
React Animation On Screen is a custom hook to track if an element is on screen and apply some animation to it.
The npm package reactanimationonscreen receives a total of 2 weekly downloads. As such, reactanimationonscreen popularity was classified as not popular.
We found that reactanimationonscreen 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.