Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
react-native-performance-flipper-expo-plugin
Advanced tools
React Native Performance Flipper Plugin Support for Expo Apps
This is a plugin for react-native-performance-flipper To install react-native-performance for Expo, a few things need to be done in advance.
This plugin does not work with Expo Go, but only with a custom dev client of Expo.
Install the Expo Flipper plugin. Documentation can be found here: Expo Community Flipper. Install the module along with react-native-flipper:
TL;DR: yarn add --save-dev expo-community-flipper react-native-flipper
Install react-native-performance
with yarn add --dev react-native-flipper-performance-plugin
. You can also check out React Native Performance. Please do not make the changes manual as described in the README, because thats what this plugin is for. You might need to run npx pod-install
though. Before the final version is released you need to use yarn add --dev 'https://gitpkg.now.sh/bamlab/react-native-performance/flipper-native?android-expo-compatibility'
Install this plugin with yarn add --save-dev react-native-performance-flipper-expo-plugin
Add expo-community-flipper
configuration to the plugins
section of your app.json
, as per the examples below. Please check Expo Community Flipper for further settings.
Add this plugin to the plugins section of your app.json
after expo-community-flipper
{
"expo": {
"..."
"plugins": [
["expo-community-flipper"],
["react-native-performance-flipper-expo-plugin"]
]
}
}
If you want to pick a specific flipper version or edit the configs, check https://github.com/jakobo/expo-community-flipper
React Native Performance helps you to calculate a LightHouse Score similar to PageSpeed Insights. However, the tool is of no use to you if you cannot draw any optimizations from it. That is why it is recommended to use the plugin together with React DevTools.
The easiest way to use React DevTools is to install it as follows:
yarn add --save-dev react-devtools-core
Then open your App.tsx/App.js and import:
import { connectToDevTools } from "react-devtools-core";
if (__DEV__) {
connectToDevTools({
host: "localhost",
port: 8097,
});
}
An /example
directory is built with expo init example
for each major SDK release with a default eas.json
file. The plugin is directly linked using expo's filepath support for config plugins. You can run expo prebuild
in the directory to verify the plugin is modifying build files appropriately.
example eas.json
{
"cli": {
"version": ">= 0.35.0"
},
"build": {
"example": {
"releaseChannel": "default",
"channel": "default"
}
}
}
example app.json
{
"expo": {
"...": "... standard app.json entries ...",
"plugins": [
[
"./../build/withFlipper",
{
"Flipper": "0.123.0",
"ios": {
"Flipper-Folly": "2.6.10",
"Flipper-RSocket": "1.4.3",
"Flipper-DoubleConversion": "3.1.7",
"Flipper-Glog": "0.3.9",
"Flipper-PeerTalk": "0.0.4"
}
}
]
]
}
}
FAQs
React Native Performance Flipper Plugin Support for Expo Apps
The npm package react-native-performance-flipper-expo-plugin receives a total of 5 weekly downloads. As such, react-native-performance-flipper-expo-plugin popularity was classified as not popular.
We found that react-native-performance-flipper-expo-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.