Upgrade React Compiler (take two) (#6460)

* Revert "Revert "React compiler beta and reenable rule (#5898)" (#6071)"

This reverts commit 7111e38cd4.

* Update the compiler

* Don't inline compiler runtime import
This commit is contained in:
dan
2024-11-17 18:50:28 +00:00
committed by GitHub
parent dd9a2f60dd
commit 2f74a8dbe9
7 changed files with 32 additions and 126 deletions
+1 -6
View File
@@ -17,12 +17,7 @@ module.exports = function (api) {
],
plugins: [
'macros',
[
'babel-plugin-react-compiler',
{
runtimeModule: 'react-compiler-runtime',
},
],
['babel-plugin-react-compiler', {target: '18'}],
[
'module:react-native-dotenv',
{