core
core copied to clipboard
types(hooks): Remove onVnode* and add onVue:* hooks
Adding the new recommended @vue:* hooks to the type.
Internally the vnode hooks are still heavily used, so I'm not too sure about how to handle those.
Size Report
Bundles
| File | Size | Gzip | Brotli |
|---|---|---|---|
| runtime-dom.global.prod.js | 86.5 kB | 32.9 kB | 29.7 kB |
| vue.global.prod.js | 132 kB | 49.6 kB | 44.5 kB |
Usages
| Name | Size | Gzip | Brotli |
|---|---|---|---|
| createApp | 47.9 kB | 18.9 kB | 17.3 kB |
| createSSRApp | 51.2 kB | 20.2 kB | 18.4 kB |
| defineCustomElement | 50.3 kB | 19.7 kB | 17.9 kB |
| overall | 61.3 kB | 23.7 kB | 21.6 kB |