dillon1000/react
Commit
Browse files 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: 46f7aec0bc3035a92369f65b0842bafab0089a9e Pull Request resolved: https://github.com/facebook/react-forget/pull/2953
Changed paths1 file
First-parent comparisoncompiler/packages/babel-plugin-react-compiler/src/Entrypoint/Reanimated.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…