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(vMemo/vFor): add cacheIndex to v-for items for clean renderCache during unmounting #12710

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

Conversation

edison1105
Copy link
Member

close #12708

Copy link

github-actions bot commented Jan 14, 2025

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 100 kB (+39 B) 38 kB (+23 B) 34.3 kB (+65 B)
vue.global.prod.js 158 kB (+132 B) 57.9 kB (+50 B) 51.5 kB (+49 B)

Usages

Name Size Gzip Brotli
createApp (CAPI only) 46.4 kB (+54 B) 18.2 kB (+26 B) 16.7 kB (+15 B)
createApp 54.4 kB (+54 B) 21.2 kB (+26 B) 19.3 kB (+22 B)
createSSRApp 58.6 kB (+54 B) 22.9 kB (+20 B) 20.9 kB (+21 B)
defineCustomElement 59.2 kB (+54 B) 22.8 kB (+32 B) 20.7 kB (+17 B)
overall 68.4 kB (+54 B) 26.4 kB (+23 B) 23.9 kB (-52 B)

Copy link

pkg-pr-new bot commented Jan 14, 2025

Open in Stackblitz

@vue/compiler-core

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

@vue/compiler-sfc

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

@vue/compiler-dom

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

@vue/compiler-ssr

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

@vue/runtime-core

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

@vue/runtime-dom

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

@vue/reactivity

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

@vue/server-renderer

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

@vue/shared

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

vue

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

@vue/compat

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

commit: 1373bc7

@edison1105 edison1105 marked this pull request as draft January 15, 2025 02:48
@edison1105
Copy link
Member Author

/ecosystem-ci run

@vue-bot
Copy link
Contributor

vue-bot commented Jan 15, 2025

📝 Ran ecosystem CI: Open

suite result latest scheduled
language-tools success success
nuxt success success
pinia success success
primevue success success
quasar failure failure
radix-vue success success
router success success
test-utils success success
vant success success
vite-plugin-vue success success
vitepress success success
vue-i18n success success
vue-macros failure failure
vuetify success success
vueuse success success
vue-simple-compiler success success

@edison1105 edison1105 marked this pull request as ready for review January 15, 2025 06:16
@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 15, 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.

v-memo skips updates when used with v-for and within a v-if
2 participants