react/packages
Andrew Clark 8b3b5c3524
Bugfix: Missing mode check in resetChildLanes (#18961)
Deferring a hidden tree is only supported in Concurrent Mode.

The missing check leads to an infinite loop when an update is scheduled
inside a hidden tree, because the pending work never gets reset.

This "accidentally" worked in the old reconciler because the heurstic
we used to detect offscreen trees was if `childExpirationTime`
was `Never`.

In the new reconciler, we check the tag instead. Which means we also
need to check the mode, like we do in the begin phase.

We should move this check out of the hot path. It shouldn't have been
in the hot path of the old reconciler, either.

Probably by moving `resetChildLanes` into the switch statement
in ReactFiberCompleteWork.
2020-05-19 23:10:49 -07:00
..
create-subscription Port more tests to the Scheduler.unstable_yieldValue pattern and drop internal.js (#18549) 2020-04-08 20:54:54 -07:00
dom-event-testing-library Add unit tests to dom-event-testing-library (#17680) 2019-12-20 16:35:02 +00:00
eslint-plugin-react-hooks eslint-plugin-react-hooks@4.0.2 2020-05-13 16:46:26 +01:00
jest-mock-scheduler Update to Jest 25 (#18480) 2020-04-03 16:37:36 +01:00
jest-react Update to Jest 25 (#18480) 2020-04-03 16:37:36 +01:00
legacy-events Modern Event System: improve dispatching queue (#18799) 2020-05-04 16:55:45 +01:00
react Update inaccurate mapChildren comment (#18931) 2020-05-15 18:05:08 +01:00
react-art Modern Event System: Add scaffolding for createEventHandle (#18898) 2020-05-12 19:01:12 +01:00
react-cache [Blocks] Initial implementation of cache and data/fetch (#18774) 2020-04-29 19:14:15 +01:00
react-client Rename Flight to Transport (#18808) 2020-05-03 11:33:48 -07:00
react-debug-tools Add unstable prefix to experimental APIs (#18825) 2020-05-04 22:25:41 -07:00
react-devtools DevTools 4.6.0 -> 4.7.0 2020-05-18 14:16:04 -07:00
react-devtools-core DevTools 4.6.0 -> 4.7.0 2020-05-18 14:16:04 -07:00
react-devtools-extensions DevTools 4.6.0 -> 4.7.0 2020-05-18 14:16:04 -07:00
react-devtools-inline DevTools 4.6.0 -> 4.7.0 2020-05-18 14:16:04 -07:00
react-devtools-shared DevTools editable props tweaks (#18954) 2020-05-19 09:42:00 -07:00
react-devtools-shell Disable Webpack setImmediate polyfill for DevTools (#18860) 2020-05-07 13:13:47 -07:00
react-dom Add LegacyHidden to server renderer (#18919) 2020-05-14 11:28:11 -07:00
react-fetch [Blocks] Scaffolding react-fetch + first pass at node implementation (#18863) 2020-05-12 17:21:45 +01:00
react-interactions React Flare: fix PressLegacy preventDefault issue (#18904) 2020-05-13 13:59:32 +01:00
react-is Remove ConcurrentMode and AsyncMode symbols (#18450) 2020-04-01 10:18:52 -07:00
react-native-renderer Modern Event System: Add scaffolding for createEventHandle (#18898) 2020-05-12 19:01:12 +01:00
react-noop-renderer Modern Event System: Add scaffolding for createEventHandle (#18898) 2020-05-12 19:01:12 +01:00
react-reconciler Bugfix: Missing mode check in resetChildLanes (#18961) 2020-05-19 23:10:49 -07:00
react-refresh Disable <div hidden /> API in old fork, too (#18917) 2020-05-13 20:01:10 -07:00
react-server Rename Flight to Transport (#18808) 2020-05-03 11:33:48 -07:00
react-test-renderer Modern Event System: Add scaffolding for createEventHandle (#18898) 2020-05-12 19:01:12 +01:00
react-transport-dom-relay Rename Flight to Transport (#18808) 2020-05-03 11:33:48 -07:00
react-transport-dom-webpack Disable Webpack setImmediate polyfill for DevTools (#18860) 2020-05-07 13:13:47 -07:00
scheduler Nit: add suffix _TIMEOUT consistently in scheduler (#18696) 2020-04-21 19:44:42 -07:00
shared Disable <div hidden /> API in old fork, too (#18917) 2020-05-13 20:01:10 -07:00
use-subscription Add MIT license to use-subscription package (#18927) 2020-05-15 15:36:48 -07:00