mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
abd7259de4
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49324 Provide Android component codegen a bit more flexibility by allowing `$ReadOnlyArray<UnsafeMixed>` and avoid casting in the view manager. Changelog: [General][Added] Reviewed By: fabriziocucci Differential Revision: D69454101 fbshipit-source-id: c210647deffeb01b7db8aa07266e58c42acf14ba
@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.