Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(templateRef): prevent unnecessary set ref during unmounting #12642

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

edison1105
Copy link
Member

close #12639

Copy link

github-actions bot commented Jan 3, 2025

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 100 kB (+113 B) 38 kB (+48 B) 34.2 kB (+41 B)
vue.global.prod.js 158 kB (+113 B) 57.8 kB (+28 B) 51.5 kB (+116 B)

Usages

Name Size Gzip Brotli
createApp (CAPI only) 46.4 kB (+113 B) 18.2 kB (+39 B) 16.6 kB (+40 B)
createApp 54.3 kB (+113 B) 21.2 kB (+42 B) 19.3 kB (+31 B)
createSSRApp 58.5 kB (+113 B) 22.9 kB (+42 B) 20.9 kB (+86 B)
defineCustomElement 59.2 kB (+113 B) 22.7 kB (+23 B) 20.7 kB (+36 B)
overall 68.4 kB (+113 B) 26.3 kB (+37 B) 24 kB (+95 B)

Copy link

pkg-pr-new bot commented Jan 3, 2025

Open in Stackblitz

@vue/compiler-core

npm i https://pkg.pr.new/@vue/compiler-core@12642

@vue/compiler-dom

npm i https://pkg.pr.new/@vue/compiler-dom@12642

@vue/compiler-sfc

npm i https://pkg.pr.new/@vue/compiler-sfc@12642

@vue/compiler-ssr

npm i https://pkg.pr.new/@vue/compiler-ssr@12642

@vue/runtime-core

npm i https://pkg.pr.new/@vue/runtime-core@12642

@vue/runtime-dom

npm i https://pkg.pr.new/@vue/runtime-dom@12642

@vue/reactivity

npm i https://pkg.pr.new/@vue/reactivity@12642

@vue/server-renderer

npm i https://pkg.pr.new/@vue/server-renderer@12642

@vue/shared

npm i https://pkg.pr.new/@vue/shared@12642

vue

npm i https://pkg.pr.new/vue@12642

@vue/compat

npm i https://pkg.pr.new/@vue/compat@12642

commit: 10e1809

@edison1105 edison1105 added ready to merge The PR is ready to be merged. 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. ready to merge The PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$refs not reset when destroying element on event within watch callback on prop value change
1 participant