Skip to main content

Getting Started

Install​

Install the library from npm or yarn just running one of the following command lines:

npmyarn
npm install react-native-big-list --saveyarn add react-native-big-list

Usage​

info

You come from the FlatList? Read also "Migrate from FlatList" on extras section.

Simple usage:

import BigList from "react-native-big-list";
// ...
const MyExample = ({ data }) => {
const renderItem = ({ item, index }) => <MyListItem item={item} />;
return <BigList data={data} renderItem={renderItem} itemHeight={50} />;
};