mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ef77087293
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43385 `rncore` and `FBReactNativeComponentSpec` contain the same symbols, which leads to conflicts when we try to merge them into a single shared library. Cleanup the duplication and standardize on `FBReactNativeComponentSpec` everywhere. I've left the Android OSS targets as is, to avoid breaking deps. Changelog: [Internal] Reviewed By: cortinico, dmytrorykun Differential Revision: D54630694 fbshipit-source-id: 75cb961ded9fd75508755c0530e29409fef801cf
@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.