# flatlist-fast

> Flatlist-fast base on FLatList, so it has all the properties of the FlatList.

Latest version **0.1.1** (published 2018-09-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install flatlist-fast
pnpm add flatlist-fast
yarn add flatlist-fast
bun add flatlist-fast
```

## 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.1.1 |
| Published | 2018-09-01 |
| First published | 2018-08-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | vuhoangha |
| Maintainers | vuhoangha |

## Links

- npm: https://www.npmjs.com/package/flatlist-fast
- Repository: https://github.com/vuhoangha/flatlist-fast
- Homepage: https://github.com/vuhoangha/flatlist-fast#readme
- Issues: https://github.com/vuhoangha/flatlist-fast/issues
- npm.io page: https://npm.io/package/flatlist-fast

## Recent versions

- 0.1.1 (latest) — 2018-09-01
- 0.1.0 — 2018-09-01
- 0.0.9 — 2018-09-01
- 0.0.8 — 2018-09-01
- 0.0.7 — 2018-08-31
- 0.0.6 — 2018-08-31
- 0.0.5 — 2018-08-31
- 0.0.4 — 2018-08-31
- 0.0.3 — 2018-08-28
- 0.0.2 — 2018-08-28
- 0.0.1 — 2018-08-27

## README

# flatlist-fast

Flatlist-fast base on FLatList, so it has all the properties of the FlatList.

FLatlist-fast will render when you scroll to end or 'onEndReachedThreshold'.

Every one rendered, Flatlist-fast will render 'itemOnePage' more element.

If you don't set the 'initialNumToRender' property, Flatlist-fast will render initial item number equal to 'itemOnePage' property

# Example

    import FlatListFast from 'flatlist-fast';

    <FlatListFast
        ref={ref => this.flatList = ref}
        removeClippedSubviews={false}
        showsVerticalScrollIndicator={false}
        showsHorizontalScrollIndicator={false}
        scrollEventThrottle={16}
        getItemLayout={(data, index) => (
            { length: 50, offset: index * 50, index }
        )}
        data={this.state.listData}
        renderItem={({ item, index }) =>
            <Text>
                {`example ${index}: ${item}`}
            </Text>}
        keyExtractor={item => item.id}
        style={styles.container}
        itemOnePage={12}
        initialNumToRender={20}
        onEndReachedThreshold={0.4}
    />

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