Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
react-infinite-list
Advanced tools
Changelog
v0.1.1 (2015-06-01)
Code is simplified. Browser umd header is fixed to provide correct react dependency.
Readme
A component that displays large list of data efficiently. Reuses DOM elements during scrolling. It uses different rendering approach than [https://github.com/Morhaus/react-list-view] or Ember ListView. Instead of transposing the item rows, it just re-renders the component whenever the top or bottom list item is scrolled out of the visible area.
npm install react-infinite-list --save-dev
# or
bower install react-infinite-list --save-dev
<InfiniteList
items={items}
numOfVisibleItems={5}
itemHeight={20}
listItemClass={InfiniteListItem}
/>,
items
, numOfVisibleItems
and itemHeight
are mandatory. The latter two controls
the height of the component.
listItemClass
is optional. Rather, it serves for default list item view overriding.
There are also some mandatory css rules:
.infinite-list {
overflow: auto ;
position: relative;
}
.infinite-list-content {
margin: 0;
position: absolute;
}
Clone this repo and run npm i
. After the dependencies are installed, just issue:
npm start
and wait till webpack builds the bundel. Brower shall be opened on port 3000.
FAQs
React Infinite List =================== A component that displays large list of data efficiently. Reuses DOM elements during scrolling. It uses different rendering approach than [https://github.com/Morhaus/react-list-view] or Ember ListView. Instead of tr
The npm package react-infinite-list receives a total of 5 weekly downloads. As such, react-infinite-list popularity was classified as not popular.
We found that react-infinite-list 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).