Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@economist/component-stickyfill
Advanced tools
A React implementation of Stickyfill (https://github.com/wilddeer/stickyfill)
A React implementation of Stickyfill (https://github.com/wilddeer/stickyfill)
This component expects an ES6 environment, and so if you are using this in an app, you should drop in a polyfill library - it has been tested with babel-polyfill but core-js or es6-shim may also work.
The default export is a React Component, so you can simply import the component and use it within some JSX, like so:
import Sticky from 'component-stickyfill';
return <Sticky><div className="some-sticky-child" /></Sticky>;
For more examples on usage, see src/example.es6
.
npm i -S component-stickyfill
npm test
FAQs
A React implementation of Stickyfill (https://github.com/wilddeer/stickyfill)
The npm package @economist/component-stickyfill receives a total of 3 weekly downloads. As such, @economist/component-stickyfill popularity was classified as not popular.
We found that @economist/component-stickyfill demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.