# react-fake-list

> React component for rendering and scrolling large lists. Aims to be easy to use and performant enough solution.

Latest version **0.0.1** (published 2017-02-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-fake-list
pnpm add react-fake-list
yarn add react-fake-list
bun add react-fake-list
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-02-17 |
| First published | 2017-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Dmytro Mushenko |
| Maintainers | dmytromushenko |
| Keywords | react, virtual, list |

## Links

- npm: https://www.npmjs.com/package/react-fake-list
- Repository: https://github.com/dmytromushenko/react-fake-list
- Homepage: https://github.com/dmytromushenko/react-fake-list#readme
- Issues: https://github.com/dmytromushenko/react-fake-list/issues
- npm.io page: https://npm.io/package/react-fake-list

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^15.4.2
- [react-dom](https://npm.io/package/react-dom.md) ^15.4.2

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2017-02-17

## README

# FakeList for React

React component for rendering and scrolling large lists. Aims to be easy to use and performant enough solution.

## Usage

```javascript
import React from 'react';
import ReactDOM from 'react-dom';
import FakeList from 'react-fake-list';

const ITEM_HEIGHT = 50;

ReactDOM.render(
    <FakeList
        items={[
            {
                label: 'Label',
                key: 'key',
            },
        ]}
        itemRenderer={({ label, key }) => (
            <div
                style={{
                    height: ITEM_HEIGHT,
                }}
                key={key}
            >
                {label}
            </div>
        )}
        itemHeight={ITEM_HEIGHT}
    />,
    document.body,
);
```

---
_Source: https://npm.io/package/react-fake-list · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
