mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
0c292f3934
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39212 ## Changelog: [Internal] - Some of the generated C++ code was badly formatted - even though it's normally not supposed to be read by humans, sometimes it's still useful/needed, so it helps when it's more readable. Reviewed By: christophpurrer Differential Revision: D48827010 fbshipit-source-id: 3481af68ee6158902007c431e72e631d852c8b3c
@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.