mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
Functional Vue renders have an instance but no active effect scope. Reuse the existing Vue-store hook inside a render-owned scope, disposing subscriptions before rerender and unmount. Scope public useLinkProps effects as well; preserve setup behavior, equality and readonly semantics. The unchanged navigation-churn fixture previously left 600 subscriptions active after unmount, including on the CodSpeed base. The fix leaves zero. Four isolated Node 24.8.0 replicas against e0b7e9f reduced sampled JS allocations 34.2% (76.61 to 50.43 MB) for navigation churn and 22.5% (28.70 to 22.24 MB) for interrupted navigation. Mounted post-GC heap growth fell 78.9% and 13.9%; workload CPU fell 43.4% and 12.7%. These are local JS/CPU measurements, not CodSpeed native peaks. Balanced Vue Link comparisons remained within module-order noise (-0.14% mean CPU). Vue Router adds 110/135 gzip bytes and Vue Start adds 125 bytes; React and Solid bundle output is unchanged. Add failing-before lifecycle regressions for useMatch and functional useLinkProps. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> |
History
|
|
|---|---|---|
| .. | ||
| arktype-adapter | ||
| eslint-plugin-router | ||
| eslint-plugin-start | ||
| history | ||
| nitro-v2-vite-plugin | ||
| react-router | ||
| react-router-devtools | ||
| react-router-ssr-query | ||
| react-start | ||
| react-start-client | ||
| react-start-rsc | ||
| react-start-server | ||
| router-cli | ||
| router-core | ||
| router-devtools | ||
| router-devtools-core | ||
| router-generator | ||
| router-plugin | ||
| router-ssr-query-core | ||
| router-utils | ||
| router-vite-plugin | ||
| solid-router | ||
| solid-router-devtools | ||
| solid-router-ssr-query | ||
| solid-start | ||
| solid-start-client | ||
| solid-start-server | ||
| start-client-core | ||
| start-fn-stubs | ||
| start-plugin-core | ||
| start-server-core | ||
| start-static-server-functions | ||
| start-storage-context | ||
| valibot-adapter | ||
| virtual-file-routes | ||
| vue-router | ||
| vue-router-devtools | ||
| vue-router-ssr-query | ||
| vue-start | ||
| vue-start-client | ||
| vue-start-server | ||
| zod-adapter | ||