as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
@amazon-devices/shopify__react-native-performance-lists-profiler是位于@shopify/react-native-performance-navigation上的扩展库,提供用于分析FlatList和FlashList组件的实用工具。

安装

  1. 在package.json文件中添加JavaScript库依赖项。
  2. 使用npm install命令重新安装依赖项。

示例

API参考

查看专门文档,了解有关此库、API参考等内容的信息。官方react-native-perfonce-lists-profiler文档(仅提供英文版)。

组件

ListsProfiler属性

FlatListPerformanceView

FlashListPerformanceView

实现详情

  • 该库上游版本的文档错误地指出FlashListPerformanceView API与FlatListPerformanceView相同:onInteractive和onBlankArea只能直接与FlatListPerformanceView一起使用。

支持的版本

其他资源

有关其他库的信息,请参阅支持的第三方库和服务。
最后修改于 2026年10月26日