Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DOM] Attach Fragment event listeners to committed text children - #37164

Merged
jackpope merged 1 commit into
mainfrom
fragment-refs/text-child-event-listeners
Aug 12, 2026
Merged

[DOM] Attach Fragment event listeners to committed text children#37164
jackpope merged 1 commit into
mainfrom
fragment-refs/text-child-event-listeners

Conversation

@jackpope

@jackpope jackpope commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Commit and delete previously skipped TEXT_NODE, so listeners added before a text child mounted never reached it. Match addEventListener.

@meta-cla meta-cla Bot added the CLA Signed label Jul 31, 2026
@jackpope
jackpope force-pushed the fragment-refs/text-child-event-listeners branch from 6458307 to b0f4877 Compare July 31, 2026 19:14
@github-actions github-actions Bot added the React Core Team Opened by a member of the React Core Team label Jul 31, 2026
@jackpope
jackpope force-pushed the fragment-refs/text-child-event-listeners branch 2 times, most recently from 2a8ed2b to 44663be Compare July 31, 2026 20:55
@jackpope
jackpope marked this pull request as ready for review July 31, 2026 21:08
@jackpope
jackpope requested a review from eps1lon July 31, 2026 21:08
@jackpope
jackpope force-pushed the fragment-refs/text-child-event-listeners branch from 44663be to 10ca110 Compare August 9, 2026 19:15
@jackpope
jackpope force-pushed the fragment-refs/text-child-event-listeners branch from 10ca110 to e922ac3 Compare August 11, 2026 03:49
@jackpope
jackpope force-pushed the fragment-refs/text-child-event-listeners branch from e922ac3 to 9137621 Compare August 12, 2026 00:50
@jackpope
jackpope force-pushed the fragment-refs/text-child-event-listeners branch from 9137621 to e3d007c Compare August 12, 2026 01:05

@poteto poteto left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (light skim). Stacking stamps for the fragment-refs land sequence.

@jackpope
jackpope force-pushed the fragment-refs/text-child-event-listeners branch from e3d007c to 6d4b7e1 Compare August 12, 2026 01:13
Base automatically changed from fragment-refs/cdp-document-element-empty-portal to main August 12, 2026 01:19
Commit and delete previously skipped TEXT_NODE, so listeners added
before a text child mounted never reached it. Match addEventListener.
@jackpope
jackpope force-pushed the fragment-refs/text-child-event-listeners branch from 6d4b7e1 to d714a33 Compare August 12, 2026 01:19
@react-sizebot

Copy link
Copy Markdown

Comparing: 809280d...d714a33

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.js = 7.35 kB 7.35 kB = 1.96 kB 1.96 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 620.67 kB 620.61 kB = 109.70 kB 109.71 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 7.36 kB 7.36 kB = 1.96 kB 1.96 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 691.89 kB 691.82 kB = 121.20 kB 121.20 kB
facebook-www/ReactDOM-prod.classic.js = 712.08 kB 712.02 kB = 124.67 kB 124.66 kB
facebook-www/ReactDOM-prod.modern.js = 702.40 kB 702.33 kB = 123.09 kB 123.09 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against d714a33

@jackpope
jackpope merged commit 18c30e7 into main Aug 12, 2026
238 checks passed
github-actions Bot pushed a commit that referenced this pull request Aug 12, 2026
)

Commit and delete previously skipped TEXT_NODE, so listeners added
before a text child mounted never reached it. Match addEventListener.

DiffTrain build for [18c30e7](18c30e7)
github-actions Bot pushed a commit that referenced this pull request Aug 12, 2026
)

Commit and delete previously skipped TEXT_NODE, so listeners added
before a text child mounted never reached it. Match addEventListener.

DiffTrain build for [18c30e7](18c30e7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants