react-native/packages/polyfills
Ramanpreet Nara 8b053a4fca Implement always available js error handling (#47466)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/47466

Now, when the useAlwaysAvailableJSErrorHandling feature flag is true, React Native will use the earlyjs c++ error reporting pipeline for handling all javascript errors!

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D64715159

fbshipit-source-id: 597a5278eb792f87dca10e06fa9816b3a8c47b84
2024-11-07 11:22:57 -08:00
..
.npmignore
console.js Implement always available js error handling (#47466) 2024-11-07 11:22:57 -08:00
error-guard.js Implement always available js error handling (#47466) 2024-11-07 11:22:57 -08:00
index.js Add Flow to @react-native/polyfills entry point (#44477) 2024-05-08 06:46:15 -07:00
package.json Bump main to 0.77 2024-09-12 09:23:23 -07:00
README.md Add missing READMEs & Update package.json in all RN packages (#37090) 2023-04-28 04:26:20 -07:00

@react-native/js-polyfills

Version

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:

  1. yarn to install the dependencies. You just need to run this once
  2. yarn jest packages/polyfills.