react/packages
Andrew Clark f8ef4ff571
Flush discrete passive effects before paint (#21150)
If a discrete render results in passive effects, we should flush them
synchronously at the end of the current task so that the result is
immediately observable. For example, if a passive effect adds an event
listener, the listener will be added before the next input.

We don't need to do this for effects that don't have discrete/sync
priority, because we assume they are not order-dependent and do not
need to be observed by external systems.

For legacy mode, we will maintain the existing behavior, since it hasn't
been reported as an issue, and we'd have to do additional work to
distinguish "legacy default sync" from "discrete sync" to prevent all
passive effects from being treated this way.
2021-03-31 10:39:19 -07:00
..
create-subscription Bump versions for 17 (#20062) 2020-10-20 21:41:18 +01:00
dom-event-testing-library Revise useFocus/useFocusWithin (#19310) 2020-07-10 17:23:00 +01:00
eslint-plugin-react-hooks react-hooks/exhaustive-deps: Handle optional chained methods as dependency (#20204) (#20247) 2021-03-24 16:45:27 +00:00
jest-mock-scheduler Bump versions for 17 (#20062) 2020-10-20 21:41:18 +01:00
jest-react Bump versions for 17 (#20062) 2020-10-20 21:41:18 +01:00
react Flush discrete passive effects before paint (#21150) 2021-03-31 10:39:19 -07:00
react-art Remove Scheduler indirection (#21107) 2021-03-28 14:13:38 -07:00
react-cache Remove unstable_changedBits (#20953) 2021-03-19 15:36:51 -07:00
react-client Log all errors to console.error by default (#21130) 2021-03-29 19:39:55 -07:00
react-debug-tools Remove unstable_changedBits (#20953) 2021-03-19 15:36:51 -07:00
react-devtools [devtools] Bump electron version from 9.1.0 to 11.1.0 for darwin-arm64 builds (#20496) 2021-01-04 10:38:11 -05:00
react-devtools-core Expose DEV-mode warnings in devtools UI (#20463) 2020-12-22 11:09:29 -05:00
react-devtools-extensions [FB-only] Show which hooks (indices) changed when profiling (#20998) 2021-03-17 12:28:21 -04:00
react-devtools-inline Expose DEV-mode warnings in devtools UI (#20463) 2020-12-22 11:09:29 -05:00
react-devtools-scheduling-profiler Remove Scheduler indirection (#21107) 2021-03-28 14:13:38 -07:00
react-devtools-shared Remove Scheduler indirection (#21107) 2021-03-28 14:13:38 -07:00
react-devtools-shell DevTools Profiler: Add commit and post-commit durations to UI (#20984) 2021-03-17 12:27:37 -04:00
react-dom Support nesting of startTransition and flushSync (alt) (#21149) 2021-03-31 08:22:49 -07:00
react-fetch Add Flight packages to experimental allowlist (#20486) 2020-12-18 14:29:48 -08:00
react-fs Add Flight packages to experimental allowlist (#20486) 2020-12-18 14:29:48 -08:00
react-interactions Bump versions for 17 (#20062) 2020-10-20 21:41:18 +01:00
react-is Remove Scheduler indirection (#21107) 2021-03-28 14:13:38 -07:00
react-native-renderer [Fizz] Support special HTML/SVG/MathML tags to suspend (#21113) 2021-03-27 10:50:38 -07:00
react-noop-renderer [Flight] Add global onError handler (#21129) 2021-03-29 19:36:16 -07:00
react-pg Add Flight packages to experimental allowlist (#20486) 2020-12-18 14:29:48 -08:00
react-reconciler Flush discrete passive effects before paint (#21150) 2021-03-31 10:39:19 -07:00
react-refresh react-refresh@0.10.0 2021-03-30 16:19:57 +01:00
react-server Log all errors to console.error by default (#21130) 2021-03-29 19:39:55 -07:00
react-server-dom-relay [Flight] Add global onError handler (#21129) 2021-03-29 19:36:16 -07:00
react-server-dom-webpack [Flight] Add global onError handler (#21129) 2021-03-29 19:36:16 -07:00
react-server-native-relay [Flight] Add global onError handler (#21129) 2021-03-29 19:36:16 -07:00
react-suspense-test-utils Add built-in Suspense cache with support for invalidation (refreshing) (#20456) 2020-12-18 10:57:24 -08:00
react-test-renderer Remove Scheduler indirection (#21107) 2021-03-28 14:13:38 -07:00
scheduler Replace some flushExpired callsites (#20975) 2021-03-22 12:44:19 -04:00
shared Remove Scheduler indirection (#21107) 2021-03-28 14:13:38 -07:00
use-subscription use-subscription@1.5.1 2020-11-12 00:36:00 +00:00