mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
88de631d05
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51185 Was running into issues with split Android ParagraphState, because a lot of code is tied to `#ifdef ANDROID`, which also builds for react-native-cxx. This does that spliitting, and also introduces `RN_SERIALIZABLE_STATE` to replace previous ANDROID checks related to state serialization, so we can cofine that to just the Android platform. These changes are dependent on each other. Changelog: [Internal] Reviewed By: joevilches Differential Revision: D74374376 fbshipit-source-id: ffb246ea2e16773f85de12209f2d88a95f8bb792
@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.