Skip to content

Commit 4e9ca53

Browse files
committed
feat!: drop flipper support
1 parent 61af852 commit 4e9ca53

File tree

30 files changed

+118
-3729
lines changed

30 files changed

+118
-3729
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ jobs:
8181
node-version-file: '.node-version'
8282
- name: Install dependencies
8383
run: yarn --frozen-lockfile --non-interactive --silent --ignore-scripts
84-
- name: Lint flipper plugin
85-
run: yarn workspace flipper-plugin-performance run lint
8684

8785
build:
8886
name: Package builds
@@ -98,5 +96,5 @@ jobs:
9896
run: yarn --frozen-lockfile --non-interactive --silent --ignore-scripts
9997
- name: Build packages
10098
env:
101-
PACKAGES: flipper-plugin-performance react-native-performance
99+
PACKAGES: react-native-performance
102100
run: for p in $PACKAGES; do pushd packages/$p && npm pack --dry-run && popd; done

.watchmanconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"examples/vanilla/ios",
44
"examples/vanilla/android",
55
"examples/react-native-navigation/ios",
6-
"examples/react-native-navigation/android",
7-
"packages/flipper-plugin-react-native-performance/dist"
6+
"examples/react-native-navigation/android"
87
]
98
}

README.md

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,39 +14,21 @@ An implementation of the [`Performance` API](https://developer.mozilla.org/en-US
1414
- Collect native traces such as script execution and time to interactive of root view
1515
- Collect native metrics in development such as JS bundle size
1616

17-
### [`flipper-plugin-performance`](https://github.com/oblador/react-native-performance/blob/master/packages/flipper-plugin-performance/README.md)
18-
19-
Visualize performance tracing on a timeline and generic metrics in the debug tool Flipper.
20-
21-
### [`react-native-performance-flipper-reporter`](https://github.com/oblador/react-native-performance/blob/master/packages/react-native-performance-flipper-reporter/README.md)
22-
23-
Connect the `react-native-performance` library with the `flipper-plugin-performance` visualization tool in development.
24-
2517
### [`isomorphic-performance`](https://github.com/oblador/react-native-performance/blob/master/packages/isomorphic-performance/README.md)
2618

2719
Isomorphic Performance API for Node, Browser & React Native. Useful if your app targets both web and native.
2820

2921
## Demo
3022

31-
See the projects in the [`examples`](https://github.com/oblador/flipper-plugin-react-native-performance/tree/master/examples) folder.
32-
33-
## Development
34-
35-
Make sure to have [`yarn`](https://classic.yarnpkg.com/lang/en/) v1 installed and run `yarn` in the root folder to install dependencies for all packages.
23+
See the projects in the [`examples`](https://github.com/oblador/react-native-performance/tree/master/examples) folder.
3624

37-
Uninstall the Flipper Performance plugin if previously installed. Then edit your `~/.flipper/config.json` to look something like this:
25+
## Devtools integration
3826

39-
```
40-
{
41-
"pluginPaths": ["/path/to/react-native-performance/packages"]
42-
}
43-
```
27+
With Flipper deprecated, the best replacement is currently [Rozenite](https://www.rozenite.dev) that supports `react-native-performance` out of the box with an [official plugin](https://www.rozenite.dev/docs/official-plugins/performance-monitor).
4428

45-
Continously compile the plugin as you edit with:
29+
## Development
4630

47-
```bash
48-
yarn workspace flipper-plugin-performance run watch
49-
```
31+
Make sure to have [`yarn`](https://classic.yarnpkg.com/lang/en/) v1 installed and run `yarn` in the root folder to install dependencies for all packages.
5032

5133
Run the example app with:
5234

examples/vanilla/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ PODS:
12381238
- React-jsiexecutor
12391239
- React-RCTFBReactNativeSpec
12401240
- ReactCommon/turbomodule/core
1241-
- react-native-performance (5.1.2):
1241+
- react-native-performance (5.1.4):
12421242
- DoubleConversion
12431243
- glog
12441244
- hermes-engine
@@ -1799,7 +1799,7 @@ SPEC CHECKSUMS:
17991799
React-logger: 763728cf4eebc9c5dc9bfc3649e22295784f69f3
18001800
React-Mapbuffer: 63278529b5cf531a7eaf8fc71244fabb062ca90c
18011801
React-microtasksnativemodule: 6a39463c32ce831c4c2aa8469273114d894b6be9
1802-
react-native-performance: 0550198d1e7cc17456ad48158e10d7f6047255ff
1802+
react-native-performance: a3fdb40c3769e7e661387152a44d460388b574ac
18031803
React-NativeModulesApple: fd0545efbb7f936f78edd15a6564a72d2c34bb32
18041804
React-perflogger: 5f8fa36a8e168fb355efe72099efe77213bc2ac6
18051805
React-performancetimeline: 8c0ecfa1ae459cc5678a65f95ac3bf85644d6feb

package.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@
1414
"packages": [
1515
"examples/*",
1616
"packages/*"
17-
],
18-
"nohoist": [
19-
"**/flipper",
20-
"**/flipper/**",
21-
"**/flipper-pkg",
22-
"**/flipper-pkg/**"
2317
]
2418
},
2519
"devDependencies": {
@@ -31,8 +25,7 @@
3125
"resolutions": {
3226
"@types/eslint": "^7.28.2",
3327
"@types/node": "*",
34-
"@types/react": "^18.0.24",
35-
"flipper-ui-core": "0.0.0"
28+
"@types/react": "^18.0.24"
3629
},
3730
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
3831
}

packages/flipper-plugin-performance/LICENSE

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/flipper-plugin-performance/README.md

Lines changed: 0 additions & 36 deletions
This file was deleted.

packages/flipper-plugin-performance/index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/flipper-plugin-performance/package.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

packages/flipper-plugin-performance/src/App.jsx

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)