0.1.0 • Published 6 years ago
js-big-list v0.1.0
js-big-list
Documentation coming soon
Installation coming soon
yarn add @taystack/js-big-list
or with npm
npm i @taystack/js-big-list
Use
Small JavaScript library to help with managing the render process of large datasets on a frontend.
You don't want to render all of your items at once
Example
import BigList from "@taystack/js-big-list";
const items = new Array(100000).fill().map((_, i) => i); // 100,000 things
const renderedItems = BigList(5, items, x => x % 10 === 0);
// => [0, 10, 20, 30, 40];
0.1.0
6 years ago