Skip to content

Shopify/react-native-performance

Repository files navigation

React Native Performance logo

@shopify/react-native-performance

Performance measurement for your React Native apps.

Documentation can be found at shopify.github.io/react-native-performance

Build status

lerna

license: MIT

Discord chat

Installation | Packages | Playground app | Contributing

Install

Add the package to your project (i.e. yarn add xxx), and run pod install in the ios directory. Packages are set up to be compatible with autolinking.

Package Versions

Name Version
@shopify/flipper-plugin-shopify-react-native-performance 2.0.0
@shopify/react-native-performance 4.1.2
@shopify/react-native-performance-lists-profiler 1.1.0
@shopify/react-native-performance-navigation 3.0.0
@shopify/react-native-performance-navigation-bottom-tabs 3.0.0
@shopify/react-native-performance-navigation-drawer 3.0.0

Playground app

The fixture directory contains a native iOS and Android project with a suite of tests for the native code of the packages, and an example app showing how to use each of the packages.

To run the app locally:

  • yarn up
  • yarn ios or yarn android to launch iOS or Android app.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT