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
18 lines
451 B
JSON
18 lines
451 B
JSON
{
|
|
"version": "0.0.6",
|
|
"name": "@react-native/babel-plugin-codegen",
|
|
"description": "Babel plugin to generate native module and view manager code for React Native.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:facebook/react-native.git",
|
|
"directory": "packages/babel-plugin-codegen"
|
|
},
|
|
"dependencies": {
|
|
"react-native-codegen": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0"
|
|
},
|
|
"license": "MIT"
|
|
}
|