Skip to content

Commit f8c3f6b

Browse files
committed
Attempt with another version of RN
1 parent d0c8e19 commit f8c3f6b

File tree

6 files changed

+48
-921
lines changed

6 files changed

+48
-921
lines changed

.github/workflows/e2e-v2.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ jobs:
100100
export PRODUCTION=1
101101
if [[ ${{ matrix.rn-architecture }} == 'new' ]]; then
102102
export RCT_NEW_ARCH_ENABLED=1
103-
export NEW_HERMES_RUNTIME=1
104103
fi
105104
pod install
106105
cd ../..

performance-tests/TestAppPlain/App.tsx

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,41 +5,12 @@
55
* @format
66
*/
77

8-
import { NewAppScreen } from '@react-native/new-app-screen';
9-
import { StatusBar, StyleSheet, useColorScheme, View } from 'react-native';
10-
import {
11-
SafeAreaProvider,
12-
useSafeAreaInsets,
13-
} from 'react-native-safe-area-context';
8+
import { View } from 'react-native';
149

1510
function App() {
16-
const isDarkMode = useColorScheme() === 'dark';
17-
1811
return (
19-
<SafeAreaProvider>
20-
<StatusBar barStyle={isDarkMode ? 'light-content' : 'dark-content'} />
21-
<AppContent />
22-
</SafeAreaProvider>
12+
<View></View>
2313
);
2414
}
2515

26-
function AppContent() {
27-
const safeAreaInsets = useSafeAreaInsets();
28-
29-
return (
30-
<View style={styles.container}>
31-
<NewAppScreen
32-
templateFileName="App.tsx"
33-
safeAreaInsets={safeAreaInsets}
34-
/>
35-
</View>
36-
);
37-
}
38-
39-
const styles = StyleSheet.create({
40-
container: {
41-
flex: 1,
42-
},
43-
});
44-
4516
export default App;

performance-tests/TestAppPlain/package.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,24 @@
88
"start": "react-native start"
99
},
1010
"dependencies": {
11-
"@react-native/new-app-screen": "0.82.1",
12-
"react": "19.1.1",
13-
"react-native": "0.82.1",
14-
"react-native-safe-area-context": "^5.5.2"
11+
"react": "19.1.0",
12+
"react-native": "0.80.2"
1513
},
1614
"devDependencies": {
1715
"@babel/core": "^7.25.2",
1816
"@babel/preset-env": "^7.25.3",
1917
"@babel/runtime": "^7.25.0",
20-
"@react-native-community/cli": "20.0.0",
21-
"@react-native-community/cli-platform-android": "20.0.0",
22-
"@react-native-community/cli-platform-ios": "20.0.0",
23-
"@react-native/babel-preset": "0.82.1",
24-
"@react-native/metro-config": "0.82.1",
25-
"@react-native/typescript-config": "0.82.1",
18+
"@react-native-community/cli": "19.1.1",
19+
"@react-native-community/cli-platform-android": "19.1.1",
20+
"@react-native-community/cli-platform-ios": "19.1.1",
21+
"@react-native/babel-preset": "0.80.2",
22+
"@react-native/metro-config": "0.80.2",
23+
"@react-native/typescript-config": "0.80.2",
2624
"@types/jest": "^29.5.13",
27-
"@types/react": "^19.1.1",
25+
"@types/react": "^19.1.0",
2826
"@types/react-test-renderer": "^19.1.0",
2927
"react-test-renderer": "19.1.1",
30-
"typescript": "^5.8.3"
28+
"typescript": "5.0.4"
3129
},
3230
"engines": {
3331
"node": ">=20"

performance-tests/TestAppSentry/App.tsx

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,46 +5,17 @@
55
* @format
66
*/
77

8-
import { NewAppScreen } from '@react-native/new-app-screen';
9-
import { StatusBar, StyleSheet, useColorScheme, View } from 'react-native';
10-
import {
11-
SafeAreaProvider,
12-
useSafeAreaInsets,
13-
} from 'react-native-safe-area-context';
8+
import { View } from 'react-native';
149
import * as Sentry from '@sentry/react-native';
1510

1611
Sentry.init({
1712
dsn: 'https://1df17bd4e543fdb31351dee1768bb679@o447951.ingest.sentry.io/5428561',
1813
});
1914

2015
function App() {
21-
const isDarkMode = useColorScheme() === 'dark';
22-
23-
return (
24-
<SafeAreaProvider>
25-
<StatusBar barStyle={isDarkMode ? 'light-content' : 'dark-content'} />
26-
<AppContent />
27-
</SafeAreaProvider>
28-
);
29-
}
30-
31-
function AppContent() {
32-
const safeAreaInsets = useSafeAreaInsets();
33-
3416
return (
35-
<View style={styles.container}>
36-
<NewAppScreen
37-
templateFileName="App.tsx"
38-
safeAreaInsets={safeAreaInsets}
39-
/>
40-
</View>
17+
<View></View>
4118
);
4219
}
4320

44-
const styles = StyleSheet.create({
45-
container: {
46-
flex: 1,
47-
},
48-
});
49-
5021
export default Sentry.wrap(App);

performance-tests/TestAppSentry/package.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,25 @@
88
"start": "react-native start"
99
},
1010
"dependencies": {
11-
"@react-native/new-app-screen": "0.82.1",
1211
"@sentry/react-native": "7.4.0",
13-
"react": "19.1.1",
14-
"react-native": "0.82.1",
15-
"react-native-safe-area-context": "^5.5.2"
12+
"react": "19.1.0",
13+
"react-native": "0.80.2"
1614
},
1715
"devDependencies": {
1816
"@babel/core": "^7.25.2",
1917
"@babel/preset-env": "^7.25.3",
2018
"@babel/runtime": "^7.25.0",
21-
"@react-native-community/cli": "20.0.0",
22-
"@react-native-community/cli-platform-android": "20.0.0",
23-
"@react-native-community/cli-platform-ios": "20.0.0",
24-
"@react-native/babel-preset": "0.82.1",
25-
"@react-native/metro-config": "0.82.1",
26-
"@react-native/typescript-config": "0.82.1",
19+
"@react-native-community/cli": "19.1.1",
20+
"@react-native-community/cli-platform-android": "19.1.1",
21+
"@react-native-community/cli-platform-ios": "19.1.1",
22+
"@react-native/babel-preset": "0.80.2",
23+
"@react-native/metro-config": "0.80.2",
24+
"@react-native/typescript-config": "0.80.2",
2725
"@types/jest": "^29.5.13",
28-
"@types/react": "^19.1.1",
26+
"@types/react": "^19.1.0",
2927
"@types/react-test-renderer": "^19.1.0",
3028
"react-test-renderer": "19.1.1",
31-
"sentry-react-native-samples-utils": "workspace:^",
32-
"typescript": "^5.8.3"
29+
"typescript": "5.0.4"
3330
},
3431
"engines": {
3532
"node": ">=20"

0 commit comments

Comments
 (0)