core icon indicating copy to clipboard operation
core copied to clipboard

refactor(reactivity): priority check if the object is invalid

Open OnlyWick opened this issue 1 year ago • 3 comments

  • If the object is non-extensible from the beginning, return the original object directly, without the need to check the cache first.

  • If the original object has already been proxied and subsequently becomes non-extensible, when attempting to proxy it again, it should return the original object directly.

  • Removed comments and used variable names instead.

OnlyWick avatar Feb 27 '24 11:02 OnlyWick

Size Report

Bundles

File Size Gzip Brotli
runtime-dom.global.prod.js 90.5 kB (-12 B) 34.4 kB (+2 B) 31 kB (+2 B)
vue.global.prod.js 148 kB (-12 B) 53.7 kB (+3 B) 47.9 kB (+20 B)

Usages

Name Size Gzip Brotli
createApp 50.7 kB 19.8 kB (+8 B) 18.1 kB (+14 B)
createSSRApp 54.1 kB 21.1 kB (+10 B) 19.3 kB (+14 B)
defineCustomElement 53 kB 20.6 kB (+9 B) 18.8 kB (+55 B)
overall 64.4 kB 24.8 kB (+10 B) 22.5 kB (-3 B)

github-actions[bot] avatar Feb 27 '24 11:02 github-actions[bot]

/ecosystem-ci run

baiwusanyu-c avatar Feb 29 '24 09:02 baiwusanyu-c

📝 Ran ecosystem CI: Open

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

vue-bot avatar Feb 29 '24 09:02 vue-bot