mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
baa824826d
Summary: Changes `react-native/babel-plugin-codegen` to generate calls to `NativeComponentRegistry` instead of `registerGeneratedViewConfig`. The only notable changes in behavior from this will be: 1. In bridgeless mode, all components using `codegenNativeComponent` will no longer access `UIManager`. 2. In bridge mode, all components using `codegenNativeComponent` will no longer verify equivalence in production. Only in `__DEV__`. (This may improve performance slightly.) This also changes the `ViewConfig` to be lazily allocated and drops support for `__INTERNAL_VIEW_CONFIG`, which we no longer need. Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D25135881 fbshipit-source-id: ca2191872c02622ab2279b808102eeb1f664d207