GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Flush discrete passive effects before paint by acdlite · Pull Request #21150 · react/react

Conversation

@acdlite

@acdlite acdlite commented Mar 31, 2021

Copy link
Copy Markdown
Collaborator

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

GabVlado reacted with rocket emoji
All reactions
  • 🚀 1 reaction
@acdlite
Flush discrete passive effects before paint
52a7680
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.
@acdlite
acdlite requested review from rickhanlonii and sebmarkbage March 31, 2021 15:39
@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Mar 31, 2021
sebmarkbage
sebmarkbage approved these changes Mar 31, 2021
View reviewed changes
@sizebot

sizebot commented Mar 31, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Comparing: b48b38a...52a7680

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js +0.02% 122.62 kB 122.65 kB +0.03% 39.34 kB 39.35 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js +0.02% 129.19 kB 129.21 kB +0.03% 41.42 kB 41.43 kB
facebook-www/ReactDOM-prod.classic.js +0.02% 405.80 kB 405.89 kB +0.02% 75.37 kB 75.39 kB
facebook-www/ReactDOM-prod.modern.js +0.02% 394.06 kB 394.15 kB +0.02% 73.51 kB 73.53 kB
facebook-www/ReactDOMForked-prod.classic.js +0.02% 405.80 kB 405.89 kB +0.02% 75.37 kB 75.39 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 52a7680

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@acdlite
acdlite force-pushed the discrete-passive-effects branch from 7e30d63 to 52a7680 Compare March 31, 2021 17:33
@acdlite
acdlite merged commit f8ef4ff into react:master Mar 31, 2021
@acdlite acdlite mentioned this pull request Mar 31, 2021
RFC: flushSync should flush passive effects if they were the result of a sync update #21124
Closed
@gaearon gaearon mentioned this pull request Mar 31, 2021
Bug: useEffect Timing changes depending on if Portal was rendered #20074
Closed
@bvaughn bvaughn mentioned this pull request Apr 3, 2021
Bug: DevTools settings dialog no longer opens #21172
Closed
@bvaughn

bvaughn commented Apr 3, 2021

Copy link
Copy Markdown
Contributor

FWIW, this change broke the settings modal dialog in DevTools. (Haven't dug into why yet, just found this commit by bisecting.)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gaearon

gaearon commented Apr 3, 2021

Copy link
Copy Markdown
Collaborator

Probably similar to repro case in #20074 (comment) which this change made reproduce consistently.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bvaughn

bvaughn commented Apr 3, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Yeah, seems to be the same issue.

Looks like this click handler is firing and changing the context value to true:
https://github.com/facebook/react/blob/b4f119cdf1defe2437e00022f670c6ef818cd43f/packages/react-devtools-shared/src/devtools/views/Settings/SettingsModalContextToggle.js#L23-L25

And then, as part of the same "click" event, this handler is now also being called and dismissing the modal:
https://github.com/facebook/react/blob/b4f119cdf1defe2437e00022f670c6ef818cd43f/packages/react-devtools-shared/src/devtools/views/hooks.js#L200-L243

Obviously I can fix this on the DevTools side 😄

Fixed via #21173

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

facebook-github-bot pushed a commit to react/react-native that referenced this pull request Apr 20, 2021
Andrei Shikov @facebook-github-bot
React Native sync for revisions c9aab1c...f7cdc89
de318cd
Summary:
This sync includes the following changes:
- **[f7cdc89](react/react@f7cdc8936 )**: Also turn off enableSyncDefaultUpdates in RN test renderer ([#21293](react/react#21293)) //<Ricky>//
- **[4c9eb2a](react/react@4c9eb2af1 )**: Add dynamic flags to React Native ([#21291](react/react#21291)) //<Ricky>//
- **[9eddfbf](react/react@9eddfbf5a )**: [Fizz] Two More Fixes ([#21288](react/react#21288)) //<Sebastian Markbåge>//
- **[11b0759](react/react@11b07597e )**: Fix classes ([#21283](react/react#21283)) //<Sebastian Markbåge>//
- **[96d00b9](react/react@96d00b9bb )**: [Fizz] Random Fixes ([#21277](react/react#21277)) //<Sebastian Markbåge>//
- **[81ef539](react/react@81ef53953 )**: Always insert a dummy node with an ID into fallbacks ([#21272](react/react#21272)) //<Sebastian Markbåge>//
- **[a4a940d](react/react@a4a940d7a )**: [Fizz] Add unsupported Portal/Scope components ([#21261](react/react#21261)) //<Sebastian Markbåge>//
- **[f4d7a0f](react/react@f4d7a0f1e )**: Implement useOpaqueIdentifier ([#21260](react/react#21260)) //<Sebastian Markbåge>//
- **[dde875d](react/react@dde875dfb )**: [Fizz] Implement Hooks ([#21257](react/react#21257)) //<Sebastian Markbåge>//
- **[a597c2f](react/react@a597c2f5d )**: [Fizz] Fix reentrancy bug ([#21270](react/react#21270)) //<Sebastian Markbåge>//
- **[15e779d](react/react@15e779d92 )**: Reconciler should inject its own version into DevTools hook ([#21268](react/react#21268)) //<Brian Vaughn>//
- **[4f76a28](react/react@4f76a28c9 )**: [Fizz] Implement New Context ([#21255](react/react#21255)) //<Sebastian Markbåge>//
- **[82ef450](react/react@82ef450e0 )**: remove obsolete SharedArrayBuffer ESLint config ([#21259](react/react#21259)) //<Henry Q. Dineen>//
- **[dbadfa2](react/react@dbadfa2c3 )**: [Fizz] Classes Follow Up ([#21253](react/react#21253)) //<Sebastian Markbåge>//
- **[686b635](react/react@686b635b7 )**: Prevent reading canonical property of null ([#21242](react/react#21242)) //<Joshua Gross>//
- **[bb88ce9](react/react@bb88ce95a )**: Bugfix: Don't rely on `finishedLanes` for passive effects ([#21233](react/react#21233)) //<Andrew Clark>//
- **[343710c](react/react@343710c92 )**: [Fizz] Fragments and Iterable support ([#21228](react/react#21228)) //<Sebastian Markbåge>//
- **[933880b](react/react@933880b45 )**: Make time-slicing opt-in ([#21072](react/react#21072)) //<Ricky>//
- **[b0407b5](react/react@b0407b55f )**: Support more empty types ([#21225](react/react#21225)) //<Sebastian Markbåge>//
- **[3971371](react/react@39713716a )**: Merge isObject branches ([#21226](react/react#21226)) //<Sebastian Markbåge>//
- **[8a4a59c](react/react@8a4a59c72 )**: Remove textarea special case from child fiber ([#21222](react/react#21222)) //<Sebastian Markbåge>//
- **[dc108b0](react/react@dc108b0f5 )**: Track which fibers scheduled the current render work ([#15658](react/react#15658)) //<Brian Vaughn>//
- **[6ea7491](react/react@6ea749170 )**: Fix typo in comment ([#21214](react/react#21214)) //<inokawa>//
- **[b38ac13](react/react@b38ac13f9 )**: DevTools: Add post-commit hook ([#21183](react/react#21183)) //<Brian Vaughn>//
- **[b943aeb](react/react@b943aeba8 )**: Fix: Passive effect updates are never sync ([#21215](react/react#21215)) //<Andrew Clark>//
- **[d389c54](react/react@d389c54d1 )**: Offscreen: Use JS stack to track hidden/unhidden subtree state ([#21211](react/react#21211)) //<Brian Vaughn>//
- **[c486dc1](react/react@c486dc1a4 )**: Remove unnecessary processUpdateQueue ([#21199](react/react#21199)) //<Sebastian Markbåge>//
- **[cf45a62](react/react@cf45a623a )**: [Fizz] Implement Classes ([#21200](react/react#21200)) //<Sebastian Markbåge>//
- **[75c6165](react/react@75c616554 )**: Include actual type of `Profiler#id` on type mismatch ([#20306](react/react#20306)) //<Sebastian Silbermann>//
- **[1214b30](react/react@1214b302e )**: test: Fix "couldn't locate all inline snapshots" ([#21205](react/react#21205)) //<Sebastian Silbermann>//
- **[1a02d27](react/react@1a02d2792 )**: style: delete unused isHost check ([#21203](react/react#21203)) //<wangao>//
- **[782f689](react/react@782f689ca )**: Don't double invoke getDerivedStateFromProps for module pattern ([#21193](react/react#21193)) //<Sebastian Markbåge>//
- **[e90c76a](react/react@e90c76a65 )**: Revert "Offscreen: Use JS stack to track hidden/unhidden subtree state" ([#21194](react/react#21194)) //<Brian Vaughn>//
- **[1f8583d](react/react@1f8583de8 )**: Offscreen: Use JS stack to track hidden/unhidden subtree state ([#21192](react/react#21192)) //<Brian Vaughn>//
- **[ad6e6ec](react/react@ad6e6ec7b )**: [Fizz] Prepare Recursive Loop for More Types ([#21186](react/react#21186)) //<Sebastian Markbåge>//
- **[172e89b](react/react@172e89b4b )**: Reland Remove redundant initial of isArray ([#21188](react/react#21188)) //<Sebastian Markbåge>//
- **[7c1ba2b](react/react@7c1ba2b57 )**: Proposed new Suspense layout effect semantics ([#21079](react/react#21079)) //<Brian Vaughn>//
- **[316aa36](react/react@316aa3686 )**: [Scheduler] Fix de-opt caused by out-of-bounds access ([#21147](react/react#21147)) //<Andrey Marchenko>//
- **[b4f119c](react/react@b4f119cdf )**: Revert "Remove redundant initial of isArray ([#21163](react/react#21163))" //<Sebastian Markbage>//
- **[c031970](react/react@c03197063 )**: Revert "apply prettier ([#21165](react/react#21165))" //<Sebastian Markbage>//
- **[94fd121](react/react@94fd1214d )**: apply prettier ([#21165](react/react#21165)) //<Behnam Mohammadi>//
- **[b130a0f](react/react@b130a0f5c )**: Remove redundant initial of isArray ([#21163](react/react#21163)) //<Behnam Mohammadi>//
- **[2c9fef3](react/react@2c9fef32d )**: Remove redundant initial of hasOwnProperty ([#21134](react/react#21134)) //<Behnam Mohammadi>//
- **[1cf9978](react/react@1cf9978d8 )**: Don't pass internals to callbacks ([#21161](react/react#21161)) //<Sebastian Markbåge>//
- **[b9e4c10](react/react@b9e4c10e9 )**: [Fizz] Implement all the DOM attributes and special cases ([#21153](react/react#21153)) //<Sebastian Markbåge>//
- **[f8ef4ff](react/react@f8ef4ff57 )**: Flush discrete passive effects before paint ([#21150](react/react#21150)) //<Andrew Clark>//
- **[b48b38a](react/react@b48b38af6 )**: Support nesting of startTransition and flushSync (alt) ([#21149](react/react#21149)) //<Sebastian Markbåge>//

Changelog:
[General][Changed] - React Native sync for revisions c9aab1c...f7cdc89

jest_e2e[run_all_tests]

Reviewed By: rickhanlonii

Differential Revision: D27740113

fbshipit-source-id: 6e27204d78e3e16ed205170006cb97c0d6bfa957
acdlite added a commit that referenced this pull request Apr 28, 2021
@acdlite
Revert "Flush discrete passive effects before paint (#21150)"
7bac760
This reverts commit 2e7acee.

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.
@bvaughn bvaughn mentioned this pull request Apr 30, 2021
Added test fixture for scheduling profiler #21397
Merged
facebook-github-bot pushed a commit to react/react-native that referenced this pull request May 11, 2021
Andrei Shikov @facebook-github-bot
React Native sync for revisions 2a7bb41...b8fda6c
10b9308
Summary:
This sync includes the following changes:
- **[b8fda6c](react/react@b8fda6cab )**: [React Native] Set allowConcurrentByDefault = true ([#21491](react/react#21491)) //<Ricky>//
- **[1bb8987](react/react@1bb8987cc )**: Renamed function in error log issue #21446 ([#21449](react/react#21449)) //<faebzz>//
- **[bd070eb](react/react@bd070eb2c )**: Enable setJSResponder/setIsJSResponder for React Native Fabric ([#21439](react/react#21439)) //<Joshua Gross>//
- **[e9a4a44](react/react@e9a4a44aa )**: Add back root override for strict mode ([#21428](react/react#21428)) //<Ricky>//
- **[d1542de](react/react@d1542de3a )**: Unify React.memo and React.forwardRef display name logic ([#21392](react/react#21392)) //<Brian Vaughn>//
- **[9a130e1](react/react@9a130e1de )**: StrictMode includes strict effects by default ([#21418](react/react#21418)) //<Brian Vaughn>//
- **[15fb8c3](react/react@15fb8c304 )**: createRoot API is no longer strict by default ([#21417](react/react#21417)) //<Brian Vaughn>//
- **[aea7c2a](react/react@aea7c2aab )**: Re-land "Support nesting of startTransition and flushSync (alt) ([#21149](react/react#21149))" //<Andrew Clark>//
- **[bacc870](react/react@bacc87068 )**: Re-land "Flush discrete passive effects before paint ([#21150](react/react#21150))" //<Andrew Clark>//
- **[098600c](react/react@098600c42 )**: Re-land "Fix: flushSync changes priority inside effect ([#21122](react/react#21122))" //<Andrew Clark>//
- **[df420bc](react/react@df420bc0a )**: Re-land "Delete LanePriority type ([#21090](react/react#21090))" //<Andrew Clark>//
- **[ab5b379](react/react@ab5b37927 )**: Re-land "Clean up host pointers in level 2 of clean-up flag ([#21112](react/react#21112))" //<Andrew Clark>//
- **[fd907c1](react/react@fd907c1f1 )**: Re-land "Use highest priority lane to detect interruptions ([#21088](react/react#21088))"" //<Andrew Clark>//
- **[269dd6e](react/react@269dd6ec5 )**: subtreeFlag warning: Fix legacy suspense false positive ([#21388](react/react#21388)) //<Andrew Clark>//
- **[9e9dac6](react/react@9e9dac650 )**: Add unstable_concurrentUpdatesByDefault ([#21227](react/react#21227)) //<Ricky>//
- **[86f3385](react/react@86f3385d9 )**: Revert "Use highest priority lane to detect interruptions ([#21088](react/react#21088))" //<Andrew Clark>//
- **[c670265](react/react@c6702656f )**: Revert "Clean up host pointers in level 2 of clean-up flag ([#21112](react/react#21112))" //<Andrew Clark>//
- **[1bd41c6](react/react@1bd41c664 )**: Revert "Delete LanePriority type ([#21090](react/react#21090))" //<Andrew Clark>//
- **[e7e0a90](react/react@e7e0a90bd )**: Revert "Fix: flushSync changes priority inside effect ([#21122](react/react#21122))" //<Andrew Clark>//
- **[7bac760](react/react@7bac7607a )**: Revert "Flush discrete passive effects before paint ([#21150](react/react#21150))" //<Andrew Clark>//
- **[207d4c3](react/react@207d4c3a5 )**: Revert "Support nesting of startTransition and flushSync (alt) ([#21149](react/react#21149))" //<Andrew Clark>//

Changelog:
[General][Changed] - React Native sync for revisions 2a7bb41...b8fda6c

jest_e2e[run_all_tests]

Reviewed By: yungsters

Differential Revision: D28351439

fbshipit-source-id: 29620f96c9fb9f02b0d856111d3882d3c69fd1c5
koto pushed a commit to koto/react that referenced this pull request Jun 15, 2021
@acdlite @koto
Flush discrete passive effects before paint (react#21150)
720dc2e
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.
koto pushed a commit to koto/react that referenced this pull request Jun 15, 2021
@acdlite @koto
Revert "Flush discrete passive effects before paint (react#21150)"
5b5024d
This reverts commit 2e7acee.

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.
koto pushed a commit to koto/react that referenced this pull request Jun 15, 2021
@acdlite @koto
Re-land "Flush discrete passive effects before paint (react#21150)"
d3e381f
This re-lands commit 2e7acee.
@gaearon gaearon mentioned this pull request Mar 29, 2022
Add React 18 changelog #24195
Merged
@irinakk irinakk mentioned this pull request Jun 8, 2022
Bug: Click event using window.addEventListener is fired prematurely #24657
Closed
@mjmasn mjmasn mentioned this pull request Jan 5, 2023
Since React Native 0.69, useEffects appear to be flushed synchronously even in React legacy mode react/react-native#35778
Closed
@cherniavskii cherniavskii mentioned this pull request Apr 4, 2023
[docs] Fix scrolling demo to work with React 18 mui/mui-x#6489
Merged
@theKastle theKastle mentioned this pull request Nov 17, 2024
Bug: useEffect fires synchronously even though it is not the result of a discrete input #31567
Closed
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
@acdlite
Flush discrete passive effects before paint (react#21150)
8e01531
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.
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
@acdlite
Revert "Flush discrete passive effects before paint (react#21150)"
3bfea11
This reverts commit 2e7acee.

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.
mrizwanashiq pushed a commit to mrizwanashiq/react that referenced this pull request Jun 25, 2026
@acdlite
Re-land "Flush discrete passive effects before paint (react#21150)"
a34c0fe
This re-lands commit 2e7acee.
This was referenced Aug 4, 2026
fix(ui): 四个 UI 组件级修复 — word-diff 阈值/Markdown 锚点/Tooltip 翻转/HC 玻璃对比度 (#1505 #1506 #1507 #1509) TokenDanceLab/AgentHub#1616
Merged
fix(canvas): flush pending debounced autosave before page unload OpenHikmah/openhikmah-web#416
Merged
This was referenced Aug 13, 2026
feat(composio): let a company say which connected account an agent acts as (#820) tinyhumansai/opencompany#827
Merged
feat: add Gantry race control overlay tariknz/irdashies#654
Merged
This was referenced Aug 21, 2026
fix: useInsertionEffect dev warning asmyshlyaev177/state-in-url#93
Merged
refactor: keep map objects out of React state yusuke-suzuki/qoodish#1117
Merged
feat(issues,pulls,github): link issues and PRs to GitHub Projects theBGuy/GitDesktop#252
Merged
iOSで外観を「自動」にしても端末のダークモード設定に追従しない不具合を修正 TrainLCD/MobileApp#6717
Merged
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@acdlite
Flush discrete passive effects before paint (react#21150)
d99e4db
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.
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@acdlite
Revert "Flush discrete passive effects before paint (react#21150)"
714cc48
This reverts commit 2e7acee.

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.
hanzo-dev pushed a commit to hanzoai/react that referenced this pull request Sep 9, 2026
@acdlite
Re-land "Flush discrete passive effects before paint (react#21150)"
72971df
This re-lands commit 2e7acee.
@coderabbitai coderabbitai Bot mentioned this pull request Sep 23, 2026
arquitectura: titularidad jurídica y contexto multi-entidad (V 0.1.23) pl0n3r/Condor#178
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rickhanlonii rickhanlonii Awaiting requested review from rickhanlonii
1 more reviewer
@sebmarkbage sebmarkbage sebmarkbage approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

CLA Signed React Core Team Opened by a member of the React Core Team

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@acdlite @sizebot @bvaughn @gaearon @sebmarkbage @facebook-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.