dillon1000/react

Commit

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 ✅.
Browse files
Changed paths4 files
First-parent comparison
M scripts/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 Modified
Patch

Files changed

Rendering syntax-highlighted changes…