一个 React Native 组件,提供快速且高性能的方式来渲染列表。
@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."
Android Device | Android Emulator | iOS Device | iOS Simulator | Web |
---|---|---|---|---|
¥Installation
-
npx expo install @shopify/flash-list
If you're installing this in a bare React Native app, you should also follow these additional installation instructions.
¥Usage
请参阅 https://shopify.github.io/flash-list/ 处的完整文档。
¥See full documentation at https://shopify.github.io/flash-list/.