mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
f9a5b30e5a
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42962 Autolinking local app fabric component requires user to manipulate the C++ code. This removes this requirement by generating the code necessary to register all the discovered Fabric Components. I've updated the RN-Tester Android setup to use this mechanism also. Changelog: [Android] [Fixed] - Fix autolinking for local app Fabric components Reviewed By: RSNara Differential Revision: D53661231 fbshipit-source-id: 28c376fbd08c326f117f8d420485d63e2b4b1241
@react-native/codegen
Installation
yarn add --dev @react-native/codegen
Note: We're using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
Testing
To run the tests in this package, run the following commands from the React Native root folder:
yarnto install the dependencies. You just need to run this onceyarn jest packages/react-native-codegen.