Skip to content

fix(compiler-core): fix for :key shorthand patchflag and keep .exp reference - #10942

Merged
yyx990803 merged 5 commits into
vuejs:mainfrom
quiteeasy:fix/for-key-shorthand
Jun 4, 2024
Merged

yyx990803 merged 5 commits into
vuejs:mainfrom
quiteeasy:fix/for-key-shorthand

Conversation

@quiteeasy

Copy link
Copy Markdown
Contributor

close #10882
Similar to #10939, this PR arises when the reference to the actual expression (.exp) for the :key binding is lost. In this PR it is kept correctly.

@github-actions

github-actions Bot commented May 14, 2024 •

Copy link
Copy Markdown

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 90.7 kB 34.5 kB 31.1 kB
vue.global.prod.js 148 kB (+91 B) 53.7 kB (+40 B) 48.1 kB (+62 B)

Usages

Name Size Gzip Brotli
createApp 50.8 kB 19.9 kB 18.1 kB
createSSRApp 54.1 kB 21.2 kB 19.3 kB
defineCustomElement 53.1 kB 20.6 kB 18.8 kB
overall 64.5 kB 24.9 kB 22.6 kB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

:key shorthand incorrectly compiles to UNKEYED_FRAGMENT

4 participants