Commit Graph

7133 Commits

Author SHA1 Message Date
Evan You 9d89d7ab27
refactor: expose scheduler for vapor 2024-12-03 16:58:07 +08:00
Evan You 783d8b4d0d
refactor: reuse props logic from core 2024-12-03 16:48:28 +08:00
Evan You f8046a3e1a
wip: attr fallthrough 2024-12-03 13:21:10 +08:00
Evan You 1636dce788
wip: inheritAttrs 2024-12-03 00:30:33 +08:00
Evan You 435ca32ff8
wip: props casting 2024-12-02 23:52:04 +08:00
Evan You 0986051f12
chore: avoid toHandlers not treeshaken 2024-12-02 21:00:52 +08:00
Evan You f3b90706ef
chore: disable modulePreload 2024-12-02 21:00:34 +08:00
Evan You 41c18ef272
wip: props handling 2024-12-02 20:35:45 +08:00
Evan You 0acafc7b4d
wip: save 2024-12-02 09:36:49 +08:00
Evan You a3edc274e4
chore: remove unnecessary config in dev config [ci skip] 2024-12-01 18:21:38 +08:00
Evan You 5828f2441f
perf: use class for SetupContext 2024-12-01 17:37:49 +08:00
Evan You d6415d8442
chore: use actual production build for playground build and preview 2024-12-01 17:37:17 +08:00
Evan You 516d4ed180
chore: revert temporarily commented lines 2024-12-01 17:25:25 +08:00
Evan You f0a8bfd22e
chore: fix test 2024-12-01 17:21:07 +08:00
edison 0196e1a499
perf(runtime-vapor): optimize `setDOMProp` on static tag + key (#294) 2024-12-01 17:04:42 +08:00
Evan You 842f94cc73
perf(vapor): improve component instantiation by using class
Mounting 10k components went from ~100ms to ~60ms with this change.
2024-12-01 16:45:29 +08:00
Rizumu Ayaka f0361bafbb
perf(runtime-vapor): `setup()` returning object is only needed in __DEV__ (HMR) (#296) 2024-11-30 18:32:16 +08:00
edison e61cedf3fd
perf(runtime-vapor): use `setAttr` or `setDOMProp` instead of `setDynamicProp` when possible (#291)
Co-authored-by: Doctor Wu <doctorwu@moego.pet>
2024-11-27 16:55:45 +08:00
Kevin Deng 三咲智子 9a2158d2f0
refactor(vapor): drop `v-memo` (#288)
* refactor(runtime-vapor): drop memo

* drop
2024-11-18 04:51:15 +08:00
三咲智子 Kevin Deng 3f6ce964c7
feat(vapor): support more magic vars 2024-11-16 06:58:26 +08:00
三咲智子 Kevin Deng 81b3d36304
fix(vapor): destructure in `v-for` 2024-11-16 06:33:44 +08:00
三咲智子 Kevin Deng 0c7817ceed
fix(compiler-vapor): stringify number prop value 2024-11-16 04:23:21 +08:00
三咲智子 Kevin Deng 4078206e16
fix(runtime-vapor): attach scope id only to root sub-element 2024-11-16 04:03:33 +08:00
三咲智子 Kevin Deng de3a611eae
fix(runtime-vapor): export types from reactivity 2024-11-16 03:51:08 +08:00
三咲智子 Kevin Deng f6ce3f9d43
Merge tag 'v3.5.13' 2024-11-16 02:48:30 +08:00
三咲智子 Kevin Deng d84510844f
refactor(runtime-vapor): extract fallback component 2024-11-16 02:43:56 +08:00
三咲智子 Kevin Deng 886440d240
test(runtime-vapor): tidy custom directives test 2024-11-16 02:36:38 +08:00
三咲智子 Kevin Deng 30f6eec3c1
refactor(runtime-vapor): re-organize block 2024-11-16 02:24:42 +08:00
Evan You 6eb29d345a
release: v3.5.13 2024-11-15 22:45:28 +08:00
edison 4f8d807822
fix(ssr): handle initial selected state for select with v-model + v-for option (#12399)
close #12395
2024-11-15 22:32:39 +08:00
edison 983eb50a17
fix(templateRef): set ref on cached async component which wrapped in KeepAlive (#12290)
close #4999
close #5004
2024-11-15 22:32:22 +08:00
edison da7ad5e3d2
fix(ssr): avoid updating subtree of async component if it is resolved (#12363)
close #12362
2024-11-15 22:11:21 +08:00
Bulat Aikaev 1f75d4e6df
fix(ssr): ensure v-text updates correctly with custom directives in SSR output (#12311)
close #12309
2024-11-15 22:02:50 +08:00
Tadas 4b479db61d
fix(transition): reflow before leave-active class after leave-from (#12288)
re-fix #2593
2024-11-15 21:36:21 +08:00
linzhe a20a4cb36a
fix(hydration): the component vnode's el should be updated when a mismatch occurs. (#12255)
close #12253
2024-11-15 18:18:58 +08:00
Evan You 352bc88c1b
fix(custom-element): avoid triggering mutationObserver when relecting props
close #12214
close #12215
2024-11-15 17:21:49 +08:00
Evan You 10ab8c0e7b
chore(playground): reset version when opening local playground from reproduction 2024-11-15 17:04:25 +08:00
zhangenming d637bd6c01
perf(reactivity): do not track inner key `__v_skip`` (#11690) 2024-11-15 11:00:24 +08:00
edison 2d78539da3
fix(compiler-dom): properly stringify template string style (#12392)
close #12391
2024-11-15 10:56:08 +08:00
Evan You 54812eacaa
test: add test case for transition memory leaks
from https://github.com/vuejs/core/pull/12190
2024-11-15 10:50:26 +08:00
edison 1022eabaa1
fix(types): defineEmits w/ interface declaration (#12343)
close #8457
2024-11-15 10:46:59 +08:00
edison 660132df6c
fix(Transition): fix transition memory leak edge case (#12182)
close #12181
2024-11-15 10:40:26 +08:00
edison 4aeff318bd
chore(deps): update dependency postcss-selector-parser to v7 (#12289) 2024-11-15 10:37:55 +08:00
edison 70b44ca835
chore(reactivity): remove unecessary array copy (#12400) 2024-11-15 10:37:24 +08:00
三咲智子 Kevin Deng 59975ed36b
feat(runtime-vapor): export createBranch 2024-11-15 04:49:06 +08:00
三咲智子 Kevin Deng 3da5ecfb5f
fix(runtime-vapor): add scope id for fallback component 2024-11-15 04:10:59 +08:00
三咲智子 Kevin Deng c223eb2684
fix(runtime-vapor): switch to fallback when slot is empty 2024-11-15 03:57:46 +08:00
三咲智子 Kevin Deng 7f3ca46523
fix(runtime-vapor): scope id for `v-if` 2024-11-15 01:21:30 +08:00
三咲智子 Kevin Deng faa3e2c0d2
fix(runtime-vapor): `v-if` with inherit attrs 2024-11-15 00:42:54 +08:00
三咲智子 Kevin Deng 7a98f4b565
fix(runtime-vapor): invoke getter for static attrs 2024-11-14 23:59:37 +08:00