
Security News
Feross on TBPN: How North Korea Hijacked Axios
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.
react-progressive-list-typescript
Advanced tools
forked from react-progressive-list, added TS and more features like buffer
Read the blog post
React Progressive List is an alternative to React Virtualized. It wins in two possible scenarios:
yarn add react-progressive-list-typescript
renderRow = index => {
return <Row key={index} avatar={avatars[index]} name={names[index]} />;
}
render() {
return (
<ReactProgressiveList
initialAmount={40}
progressiveAmount={20}
renderItem={this.renderRow}
renderLoader={() => <Spinner />}
rowCount={400}
scrollBuffer={20}
useWindowScroll
/>
);
}
| Property | Type | Default | Description |
|---|---|---|---|
className | string | undefined | className to apply to the parent div |
initialAmount | number | 10 | initial number of rows to display |
progressiveAmount | number | 10 | number of rows to render each time a new batch is requested |
idleAmount | number | 0 | number of rows to render when the browser is idle (limited browser support for requestIdleCallback) |
isActive | boolean | true | setting to false will render the full list without any progressive loading |
renderItem | (index: number) => React.Node | required | function that returns the row to render |
renderLoader | () => React.Node | () => null | function that returns a loader to render |
rowCount | number | required | the length of your list |
useWindowScroll | boolean | false | When true will use a scroll listener on the window, otherwise will use a scroll listener on the parent |
scrollBuffer | number | 0 | How many pixels before the end is reached, should we start loading more items |
FAQs
forked from react-progressive-list, added TS and more features like buffer
The npm package react-progressive-list-typescript receives a total of 168 weekly downloads. As such, react-progressive-list-typescript popularity was classified as not popular.
We found that react-progressive-list-typescript 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
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.

Security News
OpenSSF has issued a high-severity advisory warning open source developers of an active Slack-based campaign using impersonation to deliver malware.

Research
/Security News
Malicious packages published to npm, PyPI, Go Modules, crates.io, and Packagist impersonate developer tooling to fetch staged malware, steal credentials and wallets, and enable remote access.