mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1e49f93b19
Summary: 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: cipolleschi Differential Revision: D53710676 fbshipit-source-id: 667af4bcf7fa99563081330aa64d072faf50863b
@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.