
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.
@planet/react-scroll-view
Advanced tools
A scroll view React component optimized for large numbers of items.
First,
npm install @planet/react-scroll-view
Then in your code you can
var ScrollView = require('@planet/react-scroll-view')
Both a .less
and a compiled .css
file are provided with the module.
var itemHeight = 50;
var itemStyle = {
height: itemHeight
}
<ScrollView
itemCount={50}
itemHeight={itemHeight}
itemAtPosition={function(position) {
return (
<div className="my-item" style={itemStyle}>I am number {position}</div>
)
}}/>
The supported properties are:
itemCount
: Required. the number of items in the scroll viewitemHeight
: Required. the height of each item. All items must have the same height.itemAtPosition
: Required. a function that, when invoked, will return the jsx representing the item at the specified positionitemPreloadCount
: how many items are loaded outside the visible area of the scroll view. Defaults to 10nativeScrollbar
: a boolean value. if set to true, the native scrollbar will be used instead of the custom one. Defaults to false.onScroll
: optional callback that will be invoked on every scroll event.FAQs
A Rect Scroll View component
The npm package @planet/react-scroll-view receives a total of 0 weekly downloads. As such, @planet/react-scroll-view popularity was classified as not popular.
We found that @planet/react-scroll-view 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.