There was an error while loading. Please reload this page.
1 parent f795d8e commit 647cf41Copy full SHA for 647cf41
2 files changed
template/babel.config.js
@@ -1,3 +1,4 @@
1
module.exports = {
2
presets: ['module:@react-native/babel-preset'],
3
+ plugins: ['babel-plugin-react-compiler'],
4
};
template/package.json
@@ -10,9 +10,9 @@
10
"test": "jest"
11
},
12
"dependencies": {
13
+ "@react-native/new-app-screen": "nightly",
14
"react": "19.2.0",
15
"react-native": "nightly",
- "@react-native/new-app-screen": "nightly",
16
"react-native-safe-area-context": "^5.5.2"
17
18
"devDependencies": {
@@ -29,6 +29,7 @@
29
"@types/jest": "^29.5.13",
30
"@types/react": "^19.2.0",
31
"@types/react-test-renderer": "^19.1.0",
32
+ "babel-plugin-react-compiler": "^1.0.0",
33
"eslint": "^8.19.0",
34
"jest": "^29.6.3",
35
"prettier": "2.8.8",
0 commit comments