Files
react/compiler
Lauren Tan 9b0044e213 Better detection for reanimated
We found this issue through enabling the compiler on the React Conf app.

`babel-preset-expo` automatically adds the `react-native-animated`
plugin to apps that use the preset. This means that Expo apps sometimes
omit the react-native-animated plugin from their config, which was
failing our existing check. This PR copies the same detection that Expo
does for adding reanimated as a fallback

ghstack-source-id: 46f7aec0bc
Pull Request resolved: https://github.com/facebook/react-forget/pull/2953
2024-05-11 00:56:48 -04:00
..
2024-05-09 13:59:31 -07:00
2024-05-06 14:53:47 -07:00
2024-05-11 00:56:48 -04:00
2024-05-02 14:12:33 -07:00
2024-04-16 14:41:13 +01:00
2024-04-02 21:03:25 -07:00
2024-05-06 19:48:39 -04:00
2024-05-06 14:53:47 -07:00
2024-05-06 19:48:39 -04:00

React Compiler

React Compiler is a compiler that optimizes React applications, ensuring that only the minimal parts of components and hooks will re-render when state changes. The compiler also validates that components and hooks follow the Rules of React.

More information about the design and architecture of the compiler are covered in the Design Goals.

More information about developing the compiler itself is covered in the Development Guide.