Defer passive effect cleanup on unmount - #5196
Merged
Merged
Conversation
JoviDeCroock
force-pushed
the
JoviDeCroock/review-workspace-changes
branch
3 times, most recently
from
August 6, 2026 18:28
2281f40 to
946d2ec
Compare
JoviDeCroock
force-pushed
the
JoviDeCroock/review-workspace-changes
branch
2 times, most recently
from
August 6, 2026 19:51
547ee9a to
f1ac086
Compare
|
Size Change: +75 B (+0.47%) Total Size: 16 kB 📦 View Changed
ℹ️ View Unchanged
|
JoviDeCroock
force-pushed
the
JoviDeCroock/review-workspace-changes
branch
from
August 7, 2026 02:59
f1ac086 to
d5191eb
Compare
📊 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
|
….unmount parentVNode arg
JoviDeCroock
force-pushed
the
JoviDeCroock/review-workspace-changes
branch
from
August 7, 2026 03:16
d5191eb to
46ddd2f
Compare
marvinhagemeister
approved these changes
Aug 7, 2026
This was referenced Aug 8, 2026
Merged
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.
Resolves #1886
Resolves #4299
This defers the cleanups from useEffect to happen after paint rather than synchronously mixed with layout-effects. This requires an update to ecosystem packages to also specify the second argument to
options.unmountwhich is mainly used foroptions._catchError😅EDIT: ah, we can get rid of the second argument actually 5805b61