core icon indicating copy to clipboard operation
core copied to clipboard

fix(runtime-core): functional component with patchFlag set to 0 should be forced to update

Open linzhe141 opened this issue 1 year ago • 1 comments

close #11227

linzhe141 avatar Jul 01 '24 02:07 linzhe141

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 89.4 kB (+24 B) 34.2 kB (+11 B) 30.8 kB (+26 B)
vue.global.prod.js 146 kB (+24 B) 53.6 kB (+11 B) 47.8 kB (+98 B)

Usages

Name Size Gzip Brotli
createApp 51.3 kB (+24 B) 20.1 kB (+10 B) 18.3 kB (+15 B)
createSSRApp 54.7 kB (+24 B) 21.5 kB (+9 B) 19.5 kB (+4 B)
defineCustomElement 53.6 kB (+24 B) 20.9 kB (+10 B) 19 kB (-8 B)
overall 65.1 kB (+24 B) 25.1 kB (+11 B) 22.7 kB (-24 B)

github-actions[bot] avatar Jul 01 '24 02:07 github-actions[bot]

Thanks for the PR, but this is not the right fix. The root cause is slots from useSlots are not reactive, but whether we want to change that behavior still needs more discussion.

yyx990803 avatar Jul 16 '24 09:07 yyx990803