Skip to content

scrolloop 0.1.3

Install from the command line:
Learn more about npm packages
$ npm install @976520/scrolloop@0.1.3
Install via package.json:
"@976520/scrolloop": "0.1.3"

About this version

scrolloop

React virtual-scroll(윈도잉) 라이브러리

Just a virtual-scrolling library for React

install

npm install scrolloop
yarn add scrolloop
pnpm add scrolloop

how to use

import { VirtualList } from "scrolloop";

const items = Array.from({ length: 10000 }, (_, i) => `Item ${i}`);

export default function App() {
  return (
    <VirtualList
      count={items.length}
      itemSize={40}
      renderItem={(index, style) => (
        <div style={style} key={index}>
          {items[index]}
        </div>
      )}
    />
  );
}

license

MIT

Details


Assets

  • scrolloop-0.1.3.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all