
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@helpscout/motion
Advanced tools
A simple animation library for React
npm install --save @helpscout/motion
Start adding animations to any React component with the Motion
component:
import React from 'react'
import {Motion} from '@helpscout/motion'
import Zoolander from './components/Zoolander'
class App extends React.Component {
render() {
return (
<Motion
componentDidMount={fadeInAndMoveUp}
componentWillUnmount={fadeOut}
>
<Zoolander />
</Motion>
)
}
}
// Technically these animation callbacks can be writing in line.
// It's advisable to keep them as separate functions to make the code
// more readable.
function fadeInAndMoveUp({animate}) {
return animate({
opacity: [0, 1],
translateY: [-20, 0],
}).finished
}
function fadeOut({animate}) {
return animate({
opacity: [0, 1],
duration: 500,
easing: 'linear',
}).finished
}
For additional info on Motion, check out our documentation!
A big thanks to Julian Garnier for creating Anime.js, which powers the animations for Motion.
FAQs
A simple animation library for React
The npm package @helpscout/motion receives a total of 0 weekly downloads. As such, @helpscout/motion popularity was classified as not popular.
We found that @helpscout/motion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.