react/packages/shared
Brian Vaughn bcca5a6ca7
Always skip unmounted/unmounting error boundaries (#19627)
The behavior of error boundaries for passive effects that throw during cleanup was recently changed so that React ignores boundaries which are also unmounting in favor of still-mounted boundaries. This commit implements that same behavior for layout effects (useLayoutEffect, componentWillUnmount, and ref-detachment).

The new, skip-unmounting-boundaries behavior is behind a feature flag (`skipUnmountedBoundaries`).
2020-08-17 15:01:06 -04:00
..
__tests__ Don't dedupe using the stack (#18693) 2020-04-22 19:02:11 -07:00
forks Always skip unmounted/unmounting error boundaries (#19627) 2020-08-17 15:01:06 -04:00
ConsolePatchingDev.js Add console group methods to dev disabled groups (#19069) 2020-07-08 17:28:49 +01:00
ExecutionEnvironment.js give `canUseDOM` with a possibility to be a constant (#14194) 2019-04-25 11:28:53 +01:00
ReactComponentStackFrame.js Disable prepareStackTrace while we're generating stacks (#18708) 2020-04-23 09:16:58 -07:00
ReactElementType.js Update Flow to 0.84 (#17805) 2020-01-09 14:50:44 +00:00
ReactErrorUtils.js Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
ReactFeatureFlags.js Always skip unmounted/unmounting error boundaries (#19627) 2020-08-17 15:01:06 -04:00
ReactInstanceMap.js Rename internal fields (#18377) 2020-03-24 18:19:20 +00:00
ReactSharedInternals.js Don't support older isomorphic React with newer renderers (#18329) 2020-03-17 19:30:10 +00:00
ReactSymbols.js Remove the deprecated React Flare event system (#19520) 2020-08-05 15:13:29 +01:00
ReactTypes.js Remove the deprecated React Flare event system (#19520) 2020-08-05 15:13:29 +01:00
ReactVersion.js Fix Suspense-wrapping heuristic (and bump version numbers) (#19373) 2020-07-15 12:25:27 -04:00
checkPropTypes.js Only prepare extra stack frames if needed (#19014) 2020-05-27 08:43:50 -07:00
consoleWithStackDev.js Remove unnecessary throw catch (#19044) 2020-05-29 11:25:48 -07:00
enqueueTask.js Fix requiring timers module with non standard require (#18632) 2020-04-16 12:36:09 +01:00
formatProdErrorMessage.js Pass prod error messages directly to constructor (#17063) 2019-10-11 09:10:40 -07:00
getComponentName.js Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
invariant.js Compile invariant directly to throw expressions (#15071) 2019-03-18 13:58:03 -07:00
invokeGuardedCallbackImpl.js refactor fb.me redirect link to reactjs.org/link (#19598) 2020-08-17 13:25:50 +01:00
isValidElementType.js Remove the deprecated React Flare event system (#19520) 2020-08-05 15:13:29 +01:00
objectIs.js Update to flow 0.97 (#17892) 2020-01-24 10:52:38 -08:00
package.json Drop Haste (#11303) 2017-10-25 02:55:00 +03:00
shallowEqual.js Separate Object.is polyfill (#14334) 2019-01-08 14:21:12 +00:00