首页指南参考教程
This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 51).

FlashList

A React Native component that provides a fast and performant way to render lists.

Android
iOS
tvOS
Web

This library is listed in the Expo SDK reference because it is included in Expo Go. You may use any library of your choice with development builds.

@shopify/flash-list is a "Fast and performant React Native list" component that is a drop-in replacement for React Native's <FlatList> component. It "recycles components under the hood to maximize performance."

Installation

Terminal
npx expo install @shopify/flash-list

If you are installing this in an existing React Native app (bare workflow), start by installing expo in your project. Then, follow the additional instructions as mentioned by library's README under "Installation in bare React Native projects" section.

Usage

See full documentation at https://shopify.github.io/flash-list/.

Expo 中文网 - 粤ICP备13048890号