Commit Graph

102 Commits

Author SHA1 Message Date
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
Evan You b1b3baeb6e
wip: make sfc playground work after refactor + support dev mode 2024-12-04 15:07:40 +08:00
Evan You 3a6915b587
refactor: remove @vue/vapor package 2024-12-04 14:22:26 +08:00
Evan You c73ee16345
refactor: remove runtime-shared 2024-12-04 13:50:54 +08:00
Evan You f8046a3e1a
wip: attr fallthrough 2024-12-03 13:21:10 +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 5828f2441f
perf: use class for SetupContext 2024-12-01 17:37:49 +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
三咲智子 Kevin Deng 3f6ce964c7
feat(vapor): support more magic vars 2024-11-16 06:58:26 +08:00
三咲智子 Kevin Deng 30f6eec3c1
refactor(runtime-vapor): re-organize block 2024-11-16 02:24:42 +08:00
三咲智子 Kevin Deng 7f3ca46523
fix(runtime-vapor): scope id for `v-if` 2024-11-15 01:21:30 +08:00