FlashList
一个 React Native 组件,提供快速且高性能的方式来渲染列表。
Android
iOS
tvOS
Web
@shopify/flash-list
是 "快速且高性能的 React Native 列表" 组件,是 React Native <FlatList>
组件的直接替代品。是 "在引擎盖下回收组件以最大限度地提高性能。"
¥@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, start by installing expo
in your project. Then, follow the additional instructions provided by the library's README or documentation.
用法
¥Usage
请参阅 https://shopify.github.io/flash-list/ 处的完整文档。
¥See full documentation at https://shopify.github.io/flash-list/.