Commit Graph

113 Commits

Author SHA1 Message Date
Evan You e3a33e6092
wip(vapor): component hydration 2025-03-10 16:18:02 +08:00
Evan You 64270ae1b4
wip(vapor): basic hydration 2025-03-07 20:49:20 +08:00
Evan You bcd2eb7fd8
wip(vapor): fix component unmount when not at block root level 2025-02-07 17:04:05 +08:00
Evan You 99d70ddd31
wip(vapor): vdom slots in vapor component 2025-02-06 18:12:54 +08:00
Evan You ccd42b151b
refactor: adjust vapor/vdom interop 2025-02-05 14:16:39 +08:00
Evan You c3e4f6621c
wip(vapor): vdom in vapor interop 2025-02-04 21:38:09 +08:00
Evan You b20bcf1fb6
chore: fix runtime-vapor dts build 2025-02-03 15:46:40 +08:00
Evan You 3464620f12
wip(vapor): vapor in vdom interop 2025-02-02 23:15:39 +08:00
Evan You 01d6aa0d33
chore(lint): allow DOM globals in runtime-vapor 2025-02-01 21:07:06 +08:00
Evan You 9f1025d854
wip(vapor): createDynamicComponent 2025-01-31 17:04:56 +08:00
edison 568e824200
fix(runtime-vapor): properly mount component only with template in production mode (#12727)
Co-authored-by: Evan You <evan@vuejs.org>
2025-01-29 12:30:00 +08:00
edison 139448556d
refactor(runtime-core): useModel work with vapor mode (#12666) 2025-01-29 12:12:44 +08:00
Evan You bcb9209c4c
wip(vapor): optimize unmounted children removal 2024-12-14 16:28:05 +08:00
Evan You c07734debf
wip(vapor): further tweak single root attr fallthrough behavior 2024-12-13 20:23:20 +08:00
Evan You f9a6e8cd58
wip(vapor): handle class / style merging behavior 2024-12-13 18:00:58 +08:00
Evan You 0d1df25f23
wip(vapor): templateRef adjustments 2024-12-12 22:34:35 +08:00
Evan You dfe06f8f4e
wip: cache setProp prev value on element, simplify codegen
Also separate `setClass`/`setClassIncremental` and `setStyle`/
`setStyleIncremental`
2024-12-12 13:18:04 +08:00
Evan You e41858cde4
chore: todos 2024-12-11 14:33:16 +08:00
Evan You 64e007eabe
chore: Merge branch 'main' into vapor 2024-12-11 14:27:54 +08:00
Evan You dff54a17fb
test(vapor): componentSlots 2024-12-10 21:36:06 +08:00
Evan You 4366a7e213
test(vapor): apiWatch 2024-12-10 18:43:26 +08:00
Evan You 12ef12105b
test(vapor): api expose (partial) 2024-12-10 17:00:35 +08:00
Evan You 217e1e6f86
wip(vapor): make createComponent rawProps/rawSlots accept wider types for internal use 2024-12-10 15:50:49 +08:00
Evan You 48fc65f25c
test(vapor): apiCreateVaporApp 2024-12-10 12:49:47 +08:00
Evan You 527905a85b
test(vapor): errorHandling 2024-12-09 23:42:23 +08:00
Evan You 8540ee4af9
test(vapor): componentProps 2024-12-09 22:04:15 +08:00
Evan You b7aec139cb
test(vapor): block tests 2024-12-09 20:57:40 +08:00
Evan You edde81cf67
wip: respect inheritAttrs 2024-12-09 13:12:37 +08:00
Evan You 54c29aba9a
wip: vapor hmr reload 2024-12-08 23:37:40 +08:00
Evan You 366dcb7c76
wip: vapor app.unmount + unmounted hooks 2024-12-08 23:18:22 +08:00
Evan You 83be45ea88
wip: optimize vapor currentInstance setting 2024-12-08 22:47:05 +08:00
Evan You bb0787b8d4
wip: prepare hmr reload 2024-12-08 21:22:51 +08:00
Evan You 4833c1c96e
wip: vapor hmr rerender 2024-12-08 17:20:34 +08:00
Evan You 6f5493c677
wip: make dev mode work for sfc generated code 2024-12-08 16:22:23 +08:00
Evan You f413e00e43
chore: element -> node 2024-12-07 22:08:08 +08:00
Evan You aa96762ad4
wip: dynamic slots 2024-12-07 21:56:54 +08:00
Evan You 4b6100623f
wip: slots 2024-12-07 15:12:32 +08:00
Evan You 8331aa43c4
wip: avoid proxy when slots are static 2024-12-06 23:11:30 +08:00
Evan You 3ef1656d4a
wip: slots proxy 2024-12-06 22:45:45 +08:00
Evan You 238d1817cc
wip: get instance from rawProps to fix proxy handler caching 2024-12-06 21:27:24 +08:00
Evan You e60ec9f399
wip: proxy refs on setup ctx during dev 2024-12-06 11:12:54 +08:00
Evan You ae5ec075ad
wip: component with fallback 2024-12-06 11:10:35 +08:00
Evan You 300bb0859a
wip: fix all runtime-core type errors 2024-12-06 01:19:20 +08:00
Evan You 30e24ce986
wip(vapor): updated/beforeUpdate 2024-12-06 00:55:00 +08:00
Evan You e23a6a8746
wip: unify currentInstance between vdom and vapor + provide/inject 2024-12-05 23:13:24 +08:00
Evan You 93a16af08e
wip: vapor component props validation 2024-12-05 16:14:38 +08:00
Evan You 004e23f9dd
wip: cache normalized options for dev check 2024-12-04 23:50:59 +08:00
Evan You caca46bb73
wip: fix value casting 2024-12-04 23:47:28 +08:00
Evan You 33d1b8bcec
wip: use proxy for static props too 2024-12-04 23:29:01 +08:00
Evan You 23ba438be1
wip(vapor): align compiler with new props runtime behavior 2024-12-04 21:08:12 +08:00