as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
@amazon-devices/shopify__react-native-performance is a library for measuring the render times for the different flows in your app.

Installation

  1. Add the JavaScript library dependency in the package.json file.
  2. Reinstall dependencies using npm install command.

Examples

API reference

Check out the dedicated documentation page for info about this library, API reference and more: Official shopify/react-native-performance documentation.

Components

PerformanceProfiler props

PerformanceMeasureView props

PerformanceMarker props

Hooks

Implementation details

  • useResetFlow hook doesn’t work on any of the platforms including Vega.
  • Render pass reports for navigating between screens aren’t currently generated on the Vega Virtual Device.

Additional resources

For information on additional libraries, see Supported Third-Party Libraries and Services.
最后修改于 2026年7月30日