0.0.4 • Published 2 years ago

x-virtual v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

x-virtual

a simple virtual list by react application. build your own virtual list

Installation

npm install x-virtual

Usage

    <XVirtual
        data={Array.from({ length: 2000 }, (_, i) => `andy-${i}`)}
        itemHeight={40}
        windowHeight={window.innerHeight / 2}
        ref={eleRef}
    />

References building a virtualized list from scratch.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago