Commit Graph

94 Commits

Author SHA1 Message Date
daiwei 8d77c1fd1c wip: save 2025-03-18 11:18:33 +08:00
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
zhiyuanzmj a95b5e70e6
feat(runtime-vapor): expose VaporFragment for jsx-vapor (#12890) 2025-02-28 17:03:11 +08:00
edison 1b50febfe9
perf(vapor): use nthChild instead of nextn (#12847) 2025-02-12 16:43:26 +08:00
Evan You 4121de4960
refactor(vapor): reorg node op helpers + remove children helper 2025-02-12 15:47:14 +08:00
Evan You a2fa0db998
wip(vapor): improve node traversal codegen 2025-02-11 02:21:59 +08:00
Evan You 8549a243a5
wip(vapor): custom directives 2025-02-08 21:32:16 +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 5a62266e13
wip(vapor): v-model text reuse from runtime-dom 2025-02-01 21:06:40 +08:00
Evan You e5af194486
wip(vapor): simplified builtin directive v-show 2025-01-31 22:29:51 +08:00
Evan You 9f1025d854
wip(vapor): createDynamicComponent 2025-01-31 17:04:56 +08:00
Evan You c89e01efbf
wip(vapor): support default values in v-for destructure 2025-01-30 21:51:48 +08:00
Evan You 95cf749f8b
wip(vapor): support rest elements in v-for destructure 2025-01-30 21:15:25 +08:00
Evan You e49c5a17da
test(vapor): enable more test cases 2025-01-30 10:12:36 +08:00
Evan You c07734debf
wip(vapor): further tweak single root attr fallthrough behavior 2024-12-13 20:23:20 +08:00
Evan You 0d1df25f23
wip(vapor): templateRef adjustments 2024-12-12 22:34:35 +08:00
Evan You 4505727412
wip: refactor vapor vBind codegen 2024-12-12 18:17:29 +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 23fe7f991f
chore: make type check pass 2024-12-11 11:50:17 +08:00
Evan You b7aec139cb
test(vapor): block tests 2024-12-09 20:57:40 +08:00
Evan You 7e8edcd9cd
build: add runtime-with-vapor format + fix sfc playground for vapor mode 2024-12-08 15:18:16 +08:00
Evan You f413e00e43
chore: element -> node 2024-12-07 22:08:08 +08:00
Evan You 4b6100623f
wip: slots 2024-12-07 15:12:32 +08:00
Evan You ae5ec075ad
wip: component with fallback 2024-12-06 11:10:35 +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 c73ee16345
refactor: remove runtime-shared 2024-12-04 13:50:54 +08:00
Evan You 783d8b4d0d
refactor: reuse props logic from core 2024-12-03 16:48:28 +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
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
三咲智子 Kevin Deng de3a611eae
fix(runtime-vapor): export types from reactivity 2024-11-16 03:51:08 +08:00
三咲智子 Kevin Deng 59975ed36b
feat(runtime-vapor): export createBranch 2024-11-15 04:49:06 +08:00
三咲智子 Kevin Deng 247617612a
feat(vapor): merge inherited attrs with current attrs 2024-11-14 20:21:20 +08:00
三咲智子 Kevin Deng 5f92ff8ca2
feat(vapor): dynamic component 2024-11-13 14:56:39 +08:00
Kevin Deng 三咲智子 c574faa8f3
refactor(runtime-vapor): simplify directive mechanism (#278)
* feat: custom directive v2

* wip

* fix: directive

* fix

* refactor

* refactor: remove ref for el
2024-11-13 08:41:02 +08:00
Rizumu Ayaka e07eac9ba3
feat(runtime-vapor): createSelector (#279) 2024-09-22 02:30:21 +08:00
Rizumu Ayaka 6791c887da
perf: improve benchmark test code (#268) 2024-09-17 23:19:33 +08:00
三咲智子 Kevin Deng 594cb1412d
Merge remote-tracking branch 'upstream/main' 2024-09-17 10:33:35 +08:00
三咲智子 Kevin Deng 2ef97fec30
refactor: isolatedDeclarations for vapor 2024-08-09 17:00:27 +08:00
三咲智子 Kevin Deng 07444b3266
feat(runtime-vapor): try to support devtools 2024-06-21 14:03:11 +08:00
Rizumu Ayaka b2259a5f92
refactor: general destructuring function (#221) 2024-05-31 15:49:49 +08:00
ubugeeei 969f53f2e7
test(runtime-vapor): api lifecycle hooks (#215)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-27 02:37:06 +08:00
Doctor Wu 4e13a57d9c
feat(compiler/runtime-vapor): implement v-slots + v-for / v-if (#207)
Co-authored-by: Rizumu Ayaka <rizumu@ayaka.moe>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-21 08:50:10 +08:00
三咲智子 Kevin Deng d77c7ade77
feat(runtime-vapor): implement app plugin 2024-05-17 20:54:08 +08:00
三咲智子 Kevin Deng bfb52502f8
feat(runtime-shared): init 2024-05-01 20:19:25 +09:00
三咲智子 Kevin Deng 05f4ade4d9
feat(runtime-vapor): warning with component stack 2024-04-28 22:50:17 +09:00
GaoNeng d6c5bcf833
feat(runtime-core): implement debug hook (#183) 2024-04-21 20:30:47 +08:00