dillon1000/react
Commit
Browse files [flow] Eliminate a few React.Element type that will be synced to react-native (#30719)
## Summary Flow will eventually remove the specific `React.Element` type. For most of the code, it can be replaced with `React.MixedElement` or `React.Node`. When specific react elements are required, it needs to be replaced with either `React$Element` which will trigger a `internal-type` lint error that can be disabled project-wide, or use `ExactReactElement_DEPRECATED`. Fortunately in this case, this one can be replaced with just `React.MixedElement`. ## How did you test this change? `flow`
Changed paths3 files
First-parent comparisonpackages/react-native-renderer/src/ReactNativeRenderer.js ModifiedM packages/react-native-renderer/src/ReactNativeTypes.js ModifiedM packages/react/index.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…