Introduction ๐
Fast & performant React Native list. No more blank cells.
Swap from FlatList in seconds. Get instant performance. Build for RN's new architecture.
Installationโ
- React Native
- Expo
Add the package to your project via:
yarn add @shopify/flash-list@rc
We recommend being on the @rc
track before we ship the final version of v2. You can also use the @alpha
track if you want more frequent updates and don't mind occasional bugs.
and run pod install
in the ios
directory. If you don't use React Native CLI's
autolinking
feature, you will need to manually link the dependency - read
here to learn more.
- โ This library can be used with "Expo Go" from SDK 46 upwards or with a development client
- โ You can use this library with Development Builds. No config plugin is required.
npx expo install @shopify/flash-list expo-dev-client
You can then create a new Development Build and begin using FlashList
.
Usageโ
Read more about the usage of FlashList
here
Old architecture / FlashList v1โ
If you're running on old architecture or using an older version of FlashList, you can access the documentation specific to that version by selecting it from the version dropdown in the navigation bar, or using these direct links:
App / Playgroundโ
The fixture is an example app showing how to use the library.