dillon1000/react
Commit
Browse files Update React Native shims to use export syntax (#31426)
## Summary I'm working to get the main `react-native` package parsable by modern Flow tooling (both `flow-bundler`, `flow-api-translator`), and one blocker is legacy `module.exports` syntax. This diff updates files which are [synced to `react-native`](https://github.com/facebook/react-native/tree/main/packages/react-native/Libraries/Renderer/shims) from this repo. ## How did you test this change? Files were pasted into `react-native-github` under fbsource, where Flow validates ✅.
Changed paths4 files
First-parent comparisonscripts/rollup/shims/react-native/ReactFabric.js ModifiedM scripts/rollup/shims/react-native/ReactFeatureFlags.js ModifiedM scripts/rollup/shims/react-native/ReactNative.js ModifiedM scripts/rollup/shims/react-native/createReactNativeComponentClass.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…