react-native-macos/Libraries/Core
Tim Yung 0dba0aff18 ExceptionsManager: Minor Code Cleanup
Summary:
Cleans up `reactConsoleErrorHandler` in `ExceptionsManager` using modern language features, and fixes a minor edge case with how warning-like errors are handled.

Changelog:
[General][Fixed] - Avoid downgrading `console.error` when passed warning-like objects.

Reviewed By: GijsWeterings

Differential Revision: D28418488

fbshipit-source-id: 394e8608c2c81c794c9a0fc155142dcfcfe1c661
2021-05-19 12:30:41 -07:00
..
Devtools codemod objects to interfaces where they appear as supertypes of classes 2021-03-23 10:26:19 -07:00
SegmentFetcher Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
Timers Update FlowFixMes to use error codes in react-native-github 2021-03-31 18:21:47 -07:00
__mocks__ Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
__tests__ ExceptionsManager: Minor Code Cleanup 2021-05-19 12:30:41 -07:00
ExceptionsManager.js ExceptionsManager: Minor Code Cleanup 2021-05-19 12:30:41 -07:00
InitializeCore.js Centralize public access to LogBox in LogBox module 2021-05-04 10:58:24 -07:00
NativeExceptionsManager.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
ReactFiberErrorDialog.js RN: Cleanup `ReactFiberErrorDialog` 2021-05-17 01:04:32 -07:00
ReactNativeVersion.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
ReactNativeVersionCheck.js Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
checkNativeVersion.js Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
polyfillPromise.js Conditionalize Promise Polyfill for Hermes 2020-10-19 15:24:38 -07:00
setUpAlert.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
setUpBatchedBridge.js EventEmitter: Default Export `{Native,RCTDevice}EventEmitter` 2020-08-27 17:52:44 -07:00
setUpDeveloperTools.js Remove developer tool guard for android 2021-03-04 05:02:06 -08:00
setUpErrorHandling.js Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
setUpGlobals.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
setUpNavigator.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
setUpPerformance.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
setUpReactDevTools.js Don't disconnect DevTools WebSocket connection on Cmd+D 2021-04-14 07:42:38 -07:00
setUpReactRefresh.js Pass Systrace and Refresh as globals 2021-01-04 07:40:19 -08:00
setUpRegeneratorRuntime.js Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
setUpSegmentFetcher.js Pass segment hash from JS to Java 2020-10-27 10:13:02 -07:00
setUpSystrace.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
setUpTimers.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
setUpXHR.js Delete unused FlowFixMes in xplat/js/react-native-github 2021-03-31 18:21:47 -07:00