vuejs / core

🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
https://vuejs.org/
MIT License
47.75k stars 8.34k forks source link

chore(reactivity): remove unnecessary array copy #12400

Closed edison1105 closed 1 week ago

edison1105 commented 1 week ago

this change was for #5783 in #12373. it's not necessary since #5783 was fixed via 2193284

github-actions[bot] commented 1 week ago

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 99.6 kB (-5 B) 37.8 kB (-4 B) 34.1 kB (-62 B)
vue.global.prod.js 157 kB (-5 B) 57.7 kB (-8 B) 51.4 kB (-9 B)

Usages

Name Size Gzip Brotli
createApp (CAPI only) 47 kB (-5 B) 18.3 kB (-8 B) 16.7 kB (-5 B)
createApp 55.1 kB (-5 B) 21.3 kB (-10 B) 19.4 kB (-22 B)
createSSRApp 59.1 kB (-5 B) 23 kB (-9 B) 20.9 kB (-11 B)
defineCustomElement 59.9 kB (-5 B) 22.9 kB (-14 B) 20.8 kB (-7 B)
overall 68.8 kB (-5 B) 26.4 kB (-9 B) 23.9 kB (-3 B)
pkg-pr-new[bot] commented 1 week ago

Open in Stackblitz

@vue/compiler-core

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

@vue/compiler-dom

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

@vue/compiler-ssr

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

@vue/compiler-sfc

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

@vue/reactivity

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

@vue/runtime-core

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

@vue/runtime-dom

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

@vue/server-renderer

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

@vue/shared

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

vue

``` pnpm add https://pkg.pr.new/vue@12400 ```

@vue/compat

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

commit: f01054f