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(reactivity): handle Set with initial reactive values edge case #12393

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

Conversation

shengxj1
Copy link

fix #8647

@edison1105 edison1105 added scope: reactivity 🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. wait changes labels Nov 15, 2024
Copy link

github-actions bot commented Nov 18, 2024

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 100 kB (+27 B) 37.9 kB (+8 B) 34.2 kB (-11 B)
vue.global.prod.js 158 kB (+27 B) 57.8 kB (+10 B) 51.4 kB (+6 B)

Usages

Name Size Gzip Brotli
createApp (CAPI only) 47.2 kB (+27 B) 18.4 kB (+8 B) 16.8 kB (+49 B)
createApp 55.2 kB (+27 B) 21.4 kB (+10 B) 19.5 kB (+13 B)
createSSRApp 59.3 kB (+27 B) 23.1 kB (+9 B) 21 kB (+43 B)
defineCustomElement 60.1 kB (+29 B) 22.9 kB (+11 B) 20.9 kB (+11 B)
overall 69.1 kB (+27 B) 26.5 kB (+10 B) 24 kB (-46 B)

Copy link

pkg-pr-new bot commented Nov 18, 2024

Open in Stackblitz

@vue/compiler-core

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

@vue/compiler-ssr

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

@vue/compiler-sfc

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

@vue/reactivity

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

@vue/compiler-dom

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

@vue/runtime-core

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

@vue/runtime-dom

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

@vue/server-renderer

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

@vue/shared

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

vue

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

@vue/compat

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

commit: 129b9ee

@edison1105 edison1105 changed the title fix(reactivity): check rawValue exists in target via set.add vuejs#8647 fix(reactivity): handle Set with initial reactive values edge case Nov 18, 2024
@edison1105 edison1105 added ready to merge The PR is ready to be merged. and removed wait changes labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. 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.

Unintuitive Proxy behavior violating set item uniqueness constraint
2 participants