Forwardport v10.x fixes since 2026-03-25#5089
Merged
Merged
Conversation
…ys (#5065) (#5067) When a VNode is moved via INSERT_VNODE during diffChildren, its old _dom pointer becomes a stale positional reference. Nested diffs that call getDomSibling would traverse the old VNode tree and find this stale _dom, causing subsequent DOM insertions at the wrong position. Clear the old VNode's _dom after insert so getDomSibling skips moved VNodes and finds the correct insertion point.
📊 Tachometer Benchmark ResultsSummaryduration
usedJSHeapSize
Resultscreate10kduration
usedJSHeapSize
filter-listduration
usedJSHeapSize
hydrate1kduration
usedJSHeapSize
many-updatesduration
usedJSHeapSize
replace1kduration
usedJSHeapSize
run-warmup-0
run-warmup-1
run-warmup-2
run-warmup-3
run-warmup-4
run-final
text-updateduration
usedJSHeapSize
tododuration
usedJSHeapSize
update10th1kduration
usedJSHeapSize
|
|
Size Change: +193 B (+0.41%) Total Size: 47.7 kB 📦 View Changed
ℹ️ View Unchanged
|
marvinhagemeister
approved these changes
May 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
value/defaultValuemigrations (Fix hydration when we have defaultValue or value on a textarea #5081).github/CODEOWNERSfrom v10.x (Add CODEOWNERS for GitHub configuration (v10.x) #5088)Notes
10.29.1, trusted publishing adjustments, and the Playwright postinstall change) because main already has the relevant publishing/test setup or those changes are branch-version specific.Fragmentimport introduced by the backported test.Test Plan
./node_modules/.bin/vitest run test/browser/keys.test.jsx test/browser/hydrate.test.jsxMINIFY=true ./node_modules/.bin/vitest run test/browser/keys.test.jsx test/browser/hydrate.test.jsxnpm run test:tsnpm run lint