mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
c6608685cb
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52246 This diff adds the required override to codegen props to make the `FabricMountingManager` aware of the availability of a prop diffing implementation for native components using codegen props. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D77234066 fbshipit-source-id: 8e95628348f491c5ee08609bc7d7b3d30bc7151b
@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.