mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51790 Adds `flow` or `noflow` to the remaining files that are outside of `packages/react-native/{Library,src}`. Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D75904614 fbshipit-source-id: cb2c0969065cf443c3a6e74da0fa3708fda67d18
@react-native/js-polyfills
Installation
yarn add @react-native/js-polyfills
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/polyfills.