Skip to content

refactor(v4): rename $destroy()/destroyed() to $unmount()/unmounted() - #863

Merged
titouanmathis merged 1 commit into
mainfrom
refactor/v4-unmount-terminology
Aug 24, 2026
Merged

refactor(v4): rename $destroy()/destroyed() to $unmount()/unmounted()#863
titouanmathis merged 1 commit into
mainfrom
refactor/v4-unmount-terminology

Conversation

@titouanmathis

Copy link
Copy Markdown
Contributor

Why

Base.$destroy() was documented as "the reversible inverse of $mount(). The instance stays on its element and can mount again." A method whose doc comment has to explain that it does not destroy anything is misnamed. There is no destroyed state — #isMounted is one boolean with two values.

$mount()/$unmount() and mounted()/unmounted() are symmetric pairs. $mount()/$destroy() is not. Vue 3 made this same rename (beforeDestroy/destroyedbeforeUnmount/unmounted) for the same reason; React has componentWillUnmount, custom elements have disconnectedCallback.

v4 is unreleased, so this is the only time the rename is free.

What changed

  • Base.$destroy()$unmount(), the destroyed() hook → unmounted(), #destroyCallbacks#unmountCallbacks.
  • registry.ts: destroyPair/destroyWithin/destroyRemovedSubtreesunmount*.
  • MountStrategyHooks { mount, destroy }{ mount, unmount }. Internal, not re-exported — but leaving it would reintroduce the same asymmetry one layer down.
  • One wire-format change: js-toolkit:component:destroyedjs-toolkit:component:unmounted (EVENTS.component.unmounted).
  • The six migration components that override the hook, plus specs, benches and demo.

New ESLint rule: js-toolkit/no-destroy-lifecycle

Autofixes $destroy()$unmount() and destroyed()unmounted(). Registered in configs.v4 only — v3 keeps destroyed().

It is a dedicated rule rather than an entry in no-deprecated-properties, for three reasons:

  1. That rule deliberately restricts member expressions to this receivers so unrelated someLibrary.$parent is not noise. The common call is instance.$destroy(), so folding in would miss the common case, and lifting the guard for one entry lifts it for all eleven.
  2. That rule is not fixable and should not become so — $parent$closest() and $children$watchChildren() are not safe textual rewrites. A rename is the one case where a fixer is exactly right.
  3. They say different things. That rule reports v3 names v4 dropped; this is v4's own name, renamed while unreleased. This rule's lifetime is the rename window.

The two halves are deliberately asymmetric. $destroy is flagged on any receiver (the $ prefix is the toolkit's namespace and the rule is opt-in via configs.v4); destroyed has no prefix to lean on, so it is narrowed to a non-static destroyed() method definition in a class that reads as a v4 component, plus super.destroyed() inside one. foo.destroyed() is untouched, and computed access is skipped.

Also updated: V4_REMOVED $terminate$unmount(), V4_REMOVED_METHODS terminatedunmounted().

Deliberately unchanged

  • smoothTo().destroy() and the storage handles. Standalone objects with no mount cycle and no second life — the final word is the accurate one there. Renaming them would say the opposite of what this PR says.
  • require-destroyed-cleanup and async-lifecycle-methods — both v3-only.
  • migration/REPORT.md prose, which records what the names were at the time. Appended as gap 48 instead.
  • Three comments describing v3 behaviour in AnchorNav.ts, Menu.ts and RATIONALE.md, reverted after a mechanical sweep had rewritten statements about v3.
  • The children-watchers shared-runtime-slot revision. A field inside it was renamed, but the revision guards two released copies coexisting and v4 has never released a revision 1.

Verification

Command Result
packages/v4 npm run test 113 files, 1535 tests passed
packages/v4 npm run lint:types clean, both tsconfigs
packages/v4 npm run check:diagnostics sinks centralized, references tree-shakeable
packages/v4 npm run build + check:constant-subpaths clean
packages/eslint-plugin npm test 37 files, 56 tests passed
packages/eslint-plugin npm run lint:types clean
root lint:fmt, subpaths:check clean

npm run lint:static reports two pre-existing unicorn(no-useless-spread) warnings in js-toolkit/src/autoload/loader.ts:467 and v4/src/context.ts:49. Neither file is touched here.

Known unrelated failure: packages/v4/scripts/check-package.js throws TypeError: object is not iterable at line 288 — npm 12 returns npm pack --json as an object keyed by package name, while the script destructures an array. Fixed separately in #862.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NnepYhqjPMcFCSb43PoHRM

v4 has no destroyed state: `#isMounted` is one boolean with two values, and
the doc comment on `$destroy()` existed only to explain that destroy does not
destroy. `$mount()`/`$unmount()` and `mounted()`/`unmounted()` are symmetric
pairs where `$mount()`/`$destroy()` was not. Vue 3 made the same rename.

Scope is `packages/v4` and `packages/eslint-plugin`. v3 keeps `$destroy()` and
`destroyed()`; `packages/js-toolkit` and `packages/docs` are untouched.

- `Base`: `$destroy()`, the `destroyed()` hook, `#destroyCallbacks` and the
  guard message. Both doc comments rewritten to state the semantics plainly
  instead of arguing against the old name.
- `registry`: `destroyPair`/`destroyWithin`/`destroyRemovedSubtrees`, and the
  withdrawn-declaration comment now names its two steps — leave the mount
  cycle, then drop the identity.
- `events`: `js-toolkit:component:destroyed` is now
  `js-toolkit:component:unmounted`, the only wire-format change. v4 is
  unreleased.
- `MountStrategyHooks` is `{ mount, unmount }`: the hook drives `$unmount()`.
- The service mixin, six migration components, every spec, bench and demo.

Kept: `smoothTo().destroy()` and the storage handle's `destroy()`, which tear
down standalone objects with no mount cycle to leave; and the `DESTROYED_EVENT`
absence assertion in `exports.spec.ts`, about a name that never shipped.

Adds `no-destroy-lifecycle` to the eslint plugin's `v4` config, autofixing both
names. It is its own rule rather than an entry in `no-deprecated-properties`,
which only flags a member expression whose object is `this` — and the common
call is `instance.$destroy()`. `V4_REMOVED` and `V4_REMOVED_METHODS` now point
`$terminate` and `terminated` at the names v4 has.

Recorded as gap 48 in migration/REPORT.md.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NnepYhqjPMcFCSb43PoHRM
@github-actions

Copy link
Copy Markdown

Export size

Bundled per export with peer dependencies left external, dynamic imports excluded and the output minified; sizes are gzipped.

@studiometa/js-toolkit-v4

Export Size (gzip) Diff
Base 8.59 kB +3 B (+0.0%)
(barrel) 22.66 kB -2 B (-0.0%)
createServiceMixin 1015 B -2 B (-0.2%)
EVENTS 153 B -2 B (-1.3%)
registerComponent 11.27 kB -2 B (-0.0%)
domUpdate 1.23 kB -3 B (-0.2%)
registerComponents 11.28 kB -3 B (-0.0%)
subscribeContext 1.44 kB -3 B (-0.2%)
withInView 2.11 kB -3 B (-0.1%)
withKey 2.15 kB -3 B (-0.1%)
withPointer 2.52 kB -3 B (-0.1%)
withResize 2.1 kB -3 B (-0.1%)
on 8.93 kB -4 B (-0.0%)
registerManifest 11.33 kB -4 B (-0.0%)
withDrag 4.02 kB -4 B (-0.1%)
withMutation 2.09 kB -4 B (-0.2%)
withRaf 2.62 kB -4 B (-0.1%)
component 11.65 kB -5 B (-0.0%)
withScroll 3.33 kB -5 B (-0.1%)
withScrollProgress 4.33 kB -5 B (-0.1%)
Unchanged (375)

@studiometa/js-toolkit

Export Size (gzip) Diff
(barrel) 17.48 kB
AbstractService 598 B
Base 9.1 kB
ComponentLoader 2.31 kB
DEFAULT_DIAGNOSTIC_PREFIX 102 B
DragService 2.02 kB
IDLE_TIMEOUT 57 B
KeyService 935 B
LoadService 666 B
MutationService 849 B
PointerService 1.13 kB
RafService 1020 B
ResizeService 1.12 kB
ScrollService 1.36 kB
VISIBLE_ROOT_MARGIN 72 B
autoload 2.4 kB
closestComponent 419 B
composeManifests 119 B
createApp 996 B
defineFeatures 326 B
defineManifest 512 B
fromMetaGlob 228 B
fromWebpackContext 131 B
getClosestParent 197 B
getDirectChildren 202 B
getInstanceFromElement 125 B
getInstances 187 B
getScopedGroups 104 B
importOnInteraction 926 B
importOnMediaQuery 243 B
importWhenIdle 225 B
importWhenPrefersMotion 271 B
importWhenVisible 935 B
isDirectChild 218 B
logTree 551 B
queryComponent 594 B
queryComponentAll 601 B
readEagerTokens 201 B
registerComponent 305 B
registerComponents 356 B
registerManifest 2.87 kB
registerManifests 2.89 kB
useDrag 2.05 kB
useKey 943 B
useLoad 676 B
useMutation 876 B
usePointer 1.15 kB
useRaf 1 kB
useResize 1.13 kB
useScroll 1.36 kB
utils 10.08 kB
utils/Queue 291 B
utils/SmartQueue 473 B
utils/addClass 240 B
utils/addStyle 239 B
utils/animate 3.34 kB
utils/boundingRectToCircle 206 B
utils/cache 208 B
utils/camelCase 405 B
utils/clamp 98 B
utils/clamp01 114 B
utils/collideCircleCircle 129 B
utils/collideCircleRect 192 B
utils/collidePointCircle 128 B
utils/collidePointRect 122 B
utils/collideRectRect 128 B
utils/createEaseInOut 123 B
utils/createEaseOut 91 B
utils/createElement 635 B
utils/createLocalStorage 1.32 kB
utils/createLocalStorageProvider 296 B
utils/createMemoryStorageProvider 174 B
utils/createNoopProvider 128 B
utils/createRange 115 B
utils/createSessionStorage 1.32 kB
utils/createSessionStorageProvider 288 B
utils/createStorage 1.3 kB
utils/createUrlSearchParamsInHashProvider 461 B
utils/createUrlSearchParamsInHashStorage 1.35 kB
utils/createUrlSearchParamsProvider 429 B
utils/createUrlSearchParamsStorage 1.34 kB
utils/damp 106 B
utils/dashCase 404 B
utils/debounce 122 B
utils/domScheduler 310 B
utils/ease 519 B
utils/easeInCirc 285 B
utils/easeInCubic 287 B
utils/easeInExpo 286 B
utils/easeInOutCirc 288 B
utils/easeInOutCubic 289 B
utils/easeInOutExpo 288 B
utils/easeInOutQuad 288 B
utils/easeInOutQuart 289 B
utils/easeInOutQuint 289 B
utils/easeInOutSine 288 B
utils/easeInQuad 285 B
utils/easeInQuart 286 B
utils/easeInQuint 286 B
utils/easeInSine 285 B
utils/easeLinear 77 B
utils/easeOutCirc 286 B
utils/easeOutCubic 288 B
utils/easeOutExpo 286 B
utils/easeOutQuad 286 B
utils/easeOutQuart 286 B
utils/easeOutQuint 286 B
utils/easeOutSine 286 B
utils/endsWith 128 B
utils/fold 168 B
utils/getAncestorWhere 123 B
utils/getAncestorWhereUntil 148 B
utils/getComponentResolver 140 B
utils/getOffsetSizes 194 B
utils/hasWindow 88 B
utils/historyPush 524 B
utils/historyReplace 526 B
utils/inertiaFinalValue 169 B
utils/isArray 63 B
utils/isBoolean 78 B
utils/isDefined 75 B
utils/isDev 78 B
utils/isEmpty 206 B
utils/isEmptyString 108 B
utils/isFunction 79 B
utils/isNull 68 B
utils/isNumber 91 B
utils/isObject 108 B
utils/isString 77 B
utils/keyCodes 122 B
utils/lerp 84 B
utils/loadElement 220 B
utils/loadIframe 241 B
utils/loadImage 241 B
utils/loadLink 237 B
utils/loadScript 251 B
utils/localStorageProvider 839 B
utils/lowerCase 404 B
utils/map 93 B
utils/matrix 136 B
utils/mean 126 B
utils/memo 130 B
utils/memoize 228 B
utils/memoryStorageProvider 843 B
utils/nextFrame 179 B
utils/nextMicrotask 133 B
utils/nextTick 148 B
utils/noop 62 B
utils/noopValue 76 B
utils/objectToURLSearchParams 322 B
utils/pascalCase 407 B
utils/random 93 B
utils/randomInt 113 B
utils/randomItem 234 B
utils/removeClass 242 B
utils/removeStyle 243 B
utils/round 95 B
utils/saveActiveElement 92 B
utils/scrollTo 2.31 kB
utils/sessionStorageProvider 838 B
utils/smoothTo 476 B
utils/snakeCase 406 B
utils/spring 154 B
utils/startsWith 125 B
utils/throttle 125 B
utils/toggleClass 242 B
utils/transform 347 B
utils/transition 1010 B
utils/trapFocus 441 B
utils/tween 1.72 kB
utils/untrapFocus 120 B
utils/upperCase 404 B
utils/urlSearchParamsInHashProvider 845 B
utils/urlSearchParamsProvider 839 B
utils/useScheduler 309 B
utils/wait 103 B
utils/withLeadingCharacters 135 B
utils/withLeadingSlash 142 B
utils/withTrailingCharacters 135 B
utils/withTrailingSlash 142 B
utils/withoutLeadingCharacters 122 B
utils/withoutLeadingCharactersRecursive 165 B
utils/withoutLeadingSlash 133 B
utils/withoutTrailingCharacters 122 B
utils/withoutTrailingCharactersRecursive 165 B
utils/withoutTrailingSlash 133 B
utils/wrap 122 B
version 56 B
withBreakpointManager 1.54 kB
withBreakpointObserver 1.71 kB
withDrag 2.18 kB
withExtraConfig 163 B
withFreezedOptions 187 B
withGroup 455 B
withIntersectionObserver 303 B
withMountOnMediaQuery 393 B
withMountWhenInView 347 B
withMountWhenPrefersMotion 431 B
withMutation 1010 B
withName 109 B
withRelativePointer 1.29 kB
withResponsiveOptions 2.4 kB
withScrolledInView 3.05 kB

@studiometa/js-toolkit-v4

Export Size (gzip) Diff
BREAKPOINTS 778 B
DIAGNOSTICS 714 B
DRAG_MODES 162 B
MOUNT_ATTRIBUTE 69 B
SWAP_MODES 129 B
children 244 B
createContext 472 B
createFallbackProvider 1.33 kB
createGroup 1.07 kB
createLocalStorage 2.33 kB
createMemoryStorageProvider 1.21 kB
createService 640 B
createSessionStorage 2.33 kB
createStorage 2.3 kB
createUrlSearchParamsInHashProvider 1.21 kB
createUrlSearchParamsInHashStorage 2.34 kB
createUrlSearchParamsProvider 1.21 kB
createUrlSearchParamsStorage 2.34 kB
defaultScheduler 1.5 kB
defineManifest 983 B
emitExtendable 1.09 kB
fromMetaGlob 203 B
fromWebpackContext 131 B
getBreakpoints 776 B
getInstances 2.86 kB
inject 176 B
injectContext 675 B
injectContextSync 634 B
jsonSerializer 95 B
localStorageProvider 1.21 kB
memoryStorageProvider 1.21 kB
namespaceQualifier 120 B
nextFrame 115 B
perTarget 322 B
provide 182 B
provideContext 704 B
provideRootContext 748 B
read 126 B
reportDiagnostic 329 B
sessionStorageProvider 1.21 kB
setBreakpoints 806 B
signal 925 B
swap 2.9 kB
toggle 177 B
until 172 B
urlSearchParamsInHashProvider 1.21 kB
urlSearchParamsProvider 1.21 kB
useBreakpoint 1.44 kB
useDrag 3.36 kB
useInView 1.43 kB
useKey 1.47 kB
useMediaQuery 1.06 kB
useMutation 1.4 kB
usePointer 1.85 kB
usePrefersReducedMotion 1.09 kB
useRaf 1.95 kB
useResize 1.43 kB
useScroll 2.67 kB
useScrollProgress 3.64 kB
useWindowScroll 2.66 kB
useWindowSize 1.43 kB
utils 9.25 kB
utils/DEFAULT_DAMP_FACTOR 109 B
utils/INERTIA_FRAME 97 B
utils/MAX_SPRING_RATIO 100 B
utils/SCROLL_ALIGNMENTS 117 B
utils/SCROLL_AXES 100 B
utils/TRANSFORM_PROPS 137 B
utils/TRANSITION_OPTIONS 132 B
utils/camelCase 449 B
utils/capitalize 119 B
utils/clamp 133 B
utils/clamp01 149 B
utils/clampDampFactor 157 B
utils/createEaseInOut 120 B
utils/createEaseOut 91 B
utils/createElement 638 B
utils/createRange 205 B
utils/damp 211 B
utils/debounce 121 B
utils/decayOver 162 B
utils/deepmerge 312 B
utils/easeInCirc 94 B
utils/easeInCubic 81 B
utils/easeInExpo 97 B
utils/easeInOutCirc 150 B
utils/easeInOutCubic 141 B
utils/easeInOutExpo 150 B
utils/easeInOutQuad 139 B
utils/easeInOutQuart 140 B
utils/easeInOutQuint 140 B
utils/easeInOutSine 156 B
utils/easeInQuad 80 B
utils/easeInQuart 81 B
utils/easeInQuint 81 B
utils/easeInSine 104 B
utils/easeLinear 77 B
utils/easeOutCirc 121 B
utils/easeOutCubic 111 B
utils/easeOutExpo 124 B
utils/easeOutQuad 110 B
utils/easeOutQuart 112 B
utils/easeOutQuint 111 B
utils/easeOutSine 132 B
utils/enterTransition 679 B
utils/fold 200 B
utils/getOffsetSizes 268 B
utils/historyPush 391 B
utils/historyReplace 392 B
utils/inertiaDecay 199 B
utils/inertiaFinalValue 187 B
utils/inertiaStep 232 B
utils/inertiaTimeConstant 178 B
utils/isBoolean 90 B
utils/isDefined 87 B
utils/isFunction 86 B
utils/isNull 78 B
utils/isNumber 103 B
utils/isObject 115 B
utils/isString 89 B
utils/kebabCase 421 B
utils/leaveTransition 679 B
utils/lerp 120 B
utils/loadImage 245 B
utils/loadLink 776 B
utils/loadScript 697 B
utils/lockScroll 565 B
utils/lowerCase 84 B
utils/map 128 B
utils/matrix 150 B
utils/mean 147 B
utils/memo 217 B
utils/noop 62 B
utils/noopValue 76 B
utils/objectToURLSearchParams 266 B
utils/pascalCase 434 B
utils/random 93 B
utils/randomInt 132 B
utils/randomItem 163 B
utils/round 130 B
utils/saveActiveElement 571 B
utils/scrollPosition 857 B
utils/scrollTo 1.86 kB
utils/selectorFor 2.78 kB
utils/setClassesOrStyles 218 B
utils/smoothTo 2.83 kB
utils/snakeCase 421 B
utils/spring 343 B
utils/throttle 151 B
utils/transform 286 B
utils/transition 577 B
utils/trapFocus 717 B
utils/untrapFocus 587 B
utils/upperCase 84 B
utils/wait 103 B
utils/withLeadingCharacters 142 B
utils/withLeadingSlash 152 B
utils/withTrailingCharacters 143 B
utils/withTrailingSlash 153 B
utils/withoutLeadingCharacters 127 B
utils/withoutLeadingCharactersRecursive 144 B
utils/withoutLeadingSlash 138 B
utils/withoutTrailingCharacters 129 B
utils/withoutTrailingCharactersRecursive 147 B
utils/withoutTrailingSlash 140 B
utils/wrap 154 B
viewTransition 1.66 kB
warn 321 B
watchAttributeNamespace 2.55 kB
watchAttributes 2.02 kB
whenDOMSettled 2.35 kB
write 124 B

@github-actions

Copy link
Copy Markdown

Code Review

Risk: Low — The rename is internally consistent across the v4 lifecycle, registry, events, services, migration components, tests, and ESLint tooling; safe to merge.

This change renames the reversible v4 lifecycle API from $destroy()/destroyed() to $unmount()/unmounted() and updates the associated registry hooks and component event wire format. It also adds a v4-only autofixing ESLint rule and updates the v4 migration documentation and test coverage.

I reviewed the complete commit diff, including the v4 Base, registry, events, mount strategies, service mixin, migration components, tests, demos, documentation, and ESLint rule/config changes. I did not open the individual files listed under .code-review-skipped/; their contents were present in the commit diff but were not independently opened with the file-read tool.


Review usage: 241,233 in (182,940 cached) / 801 out tokens — $0.0480 (openrouter/openai/gpt-5.6-luna, thinking: low)

Reviewed by @weareikko/code-review v0.9.5 for commit 501a5d0.

@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.06%. Comparing base (fbb572d) to head (501a5d0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #863      +/-   ##
==========================================
+ Coverage   97.04%   97.06%   +0.01%     
==========================================
  Files         175      176       +1     
  Lines        4535     4561      +26     
  Branches     1322     1330       +8     
==========================================
+ Hits         4401     4427      +26     
  Misses        122      122              
  Partials       12       12              
Flag Coverage Δ
eslint-plugin-js-toolkit 94.55% <100.00%> (+0.12%) ⬆️
js-toolkit 97.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown

v4 mount benchmarks

Base and head measured on this runner, alternating over 3 rounds each; every value is the median of the round medians. Running both sides on one machine is what removes cross-machine noise — a cached baseline from another runner would put it back.

A move under 25%, or on a benchmark under 5 ms, is not reported as a change: it is inside the measured noise of a shared runner.

Group Benchmark Base Head us / component Change
mount 1000 flat components, 1 vs 10 insertions 10 insertions 7.80 ms 5.60 ms 5.60 -28.2%
mount 5000 flat components, 1 vs 10 insertions 1 insertion 68.5 ms 44.9 ms 8.98 -34.5%
Within noise (18)
Group Benchmark Base Head us / component Change
destroy 1000 flat components, one removal flat 1.50 ms - 1.50 new
destroy 5000 flat components, one removal flat 10.4 ms - 2.08 new
mount 1000 components, one insertion control — declared but unregistered 1.20 ms 1.20 ms 1.20 0.0%
mount 1000 components, one insertion flat 10.2 ms 10.9 ms 10.90 +6.9%
mount 1000 components, one insertion in-view — one controller per element 22.3 ms 22.8 ms 22.80 +2.2%
mount 1000 components, one insertion nested 4 deep 9.20 ms 8.10 ms 8.10 -12.0%
mount 1000 components, one insertion realistic — 5 refs, 3 options, 4 handlers 49.5 ms 50.0 ms 50.00 +1.0%
mount 1000 components, one insertion responsive option — breakpoint cascade per mount 11.1 ms 10.3 ms 10.30 -7.2%
mount 1000 flat components, 1 vs 10 insertions 1 insertion 8.10 ms 6.40 ms 6.40 -21.0%
mount 5000 components, one insertion control — declared but unregistered 11.4 ms 11.4 ms 2.28 0.0%
mount 5000 components, one insertion flat 46.4 ms 46.6 ms 9.32 +0.4%
mount 5000 components, one insertion in-view — one controller per element 118.3 ms 116.1 ms 23.22 -1.9%
mount 5000 components, one insertion nested 4 deep 44.3 ms 45.2 ms 9.04 +2.0%
mount 5000 components, one insertion realistic — 5 refs, 3 options, 4 handlers 243.0 ms 233.0 ms 46.60 -4.1%
mount 5000 components, one insertion responsive option — breakpoint cascade per mount 56.3 ms 58.5 ms 11.70 +3.9%
mount 5000 flat components, 1 vs 10 insertions 10 insertions 44.6 ms 45.1 ms 9.02 +1.1%
unmount 1000 flat components, one removal flat - 1.70 ms 1.70 new
unmount 5000 flat components, one removal flat - 11.5 ms 2.30 new

@titouanmathis
titouanmathis merged commit e897468 into main Aug 24, 2026
11 of 12 checks passed
@titouanmathis
titouanmathis deleted the refactor/v4-unmount-terminology branch August 24, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant