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(watch): update oldValue before running cb to prevent stale value #12296

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jh-leong
Copy link
Member

close #12294

Copy link

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 100 kB 38 kB (-1 B) 34.2 kB (+6 B)
vue.global.prod.js 159 kB 57.9 kB 51.4 kB (-12 B)

Usages

Name Size Gzip Brotli
createApp (CAPI only) 46.9 kB 18.3 kB 16.7 kB
createApp 55 kB 21.3 kB 19.4 kB (+14 B)
createSSRApp 59 kB 23 kB (-1 B) 20.9 kB (-10 B)
defineCustomElement 59.8 kB 22.8 kB (-1 B) 20.8 kB (-63 B)
overall 68.7 kB 26.3 kB 23.9 kB (-49 B)

Copy link

pkg-pr-new bot commented Oct 30, 2024

Open in Stackblitz

@vue/compiler-core

pnpm add https://pkg.pr.new/@vue/compiler-core@12296

@vue/compiler-dom

pnpm add https://pkg.pr.new/@vue/compiler-dom@12296

@vue/compiler-sfc

pnpm add https://pkg.pr.new/@vue/compiler-sfc@12296

@vue/compiler-ssr

pnpm add https://pkg.pr.new/@vue/compiler-ssr@12296

@vue/reactivity

pnpm add https://pkg.pr.new/@vue/reactivity@12296

@vue/runtime-core

pnpm add https://pkg.pr.new/@vue/runtime-core@12296

@vue/runtime-dom

pnpm add https://pkg.pr.new/@vue/runtime-dom@12296

@vue/server-renderer

pnpm add https://pkg.pr.new/@vue/server-renderer@12296

@vue/shared

pnpm add https://pkg.pr.new/@vue/shared@12296

vue

pnpm add https://pkg.pr.new/vue@12296

@vue/compat

pnpm add https://pkg.pr.new/@vue/compat@12296

commit: 9f5eb0c

@edison1105 edison1105 added ready to merge The PR is ready to be merged. scope: reactivity labels Oct 30, 2024
@jh-leong
Copy link
Member Author

/ecosystem-ci run

@vue-bot
Copy link
Contributor

vue-bot commented Oct 30, 2024

📝 Ran ecosystem CI: Open

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

@jh-leong
Copy link
Member Author

/ecosystem-ci run vant

@vue-bot
Copy link
Contributor

vue-bot commented Oct 30, 2024

📝 Ran ecosystem CI: Open

suite result latest scheduled
vant success success

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge The PR is ready to be merged. scope: reactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Synchronous watchers can fail to fire
3 participants