Commit Graph

111 Commits

Author SHA1 Message Date
Evan You c73ee16345
refactor: remove runtime-shared 2024-12-04 13:50:54 +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
三咲智子 Kevin Deng 81b3d36304
fix(vapor): destructure in `v-for` 2024-11-16 06:33:44 +08:00
三咲智子 Kevin Deng 886440d240
test(runtime-vapor): tidy custom directives test 2024-11-16 02:36:38 +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 247617612a
feat(vapor): merge inherited attrs with current attrs 2024-11-14 20:21:20 +08:00
Kevin Deng 三咲智子 c91586528a
feat(runtime-vapor): fallback component (#232)
* feat(runtime-vapor): fallback component

* fix
2024-11-13 16:53:44 +08:00
三咲智子 Kevin Deng fab9917ae4
fix(runtime-vapor): component self-reference 2024-11-13 11:00:07 +08:00
Rizumu Ayaka 5f6cd32d8b
test(runtime-vapor): fix shallowRef in v-for (#280) 2024-09-28 01:53:29 +08:00
三咲智子 Kevin Deng b962aa52ff
refactor(runtime-vapor): remove support of shallowRef in v-for
Co-authored-by: Rizumu Ayaka <rizumu@ayaka.moe>
2024-09-28 01:42:45 +08:00
Rizumu Ayaka e07eac9ba3
feat(runtime-vapor): createSelector (#279) 2024-09-22 02:30:21 +08:00
三咲智子 Kevin Deng cc58f651e1
refactor(compiler-vapor): remove `proxyRefs` in v-for 2024-09-19 01:17:16 +08:00
Kevin Deng 三咲智子 e1bedb8ad0
refactor!: drop custom directives (#274) 2024-09-19 01:15:17 +08:00
三咲智子 Kevin Deng 594cb1412d
Merge remote-tracking branch 'upstream/main' 2024-09-17 10:33:35 +08:00
XiaoDong e552ed2e9f
test(runtime-vapor): rendererElement test (#256)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-07-14 17:17:20 +00:00
XiaoDong 8941779f9d
test(runtime-vapor): errorHandling (#245)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-07-14 17:15:39 +00:00
GaoNeng d14c5d93d2
test(runtime-vapor): globalProperty (#255)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-07-14 17:10:29 +00:00
三咲智子 Kevin Deng 20b6594d62
revert: test(runtime-vapor): add misc test
This reverts commit 63dbc26f34.
https://github.com/vuejs/core-vapor/pull/246
2024-06-22 17:36:43 +08:00
XiaoDong 63dbc26f34
test(runtime-vapor): add misc test (#246) 2024-06-21 23:51:37 +08:00
Rizumu Ayaka 7d90c887c0
fix(runtime-vapor): current instance is not attached to static slots (#247)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-06-21 01:14:34 +08:00
XiaoDong d4511150a5
test(runtime-vapor): add directives test (#240)
Co-authored-by: Rizumu Ayaka <rizumu@ayaka.moe>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-06-19 22:36:14 +08:00
Kevin Deng 三咲智子 97f0b3bc33
refactor: component slots (#238)
Co-authored-by: Doctor Wu <doctorwu@moego.pet>
Co-authored-by: Rizumu Ayaka <rizumu@ayaka.moe>
2024-06-19 01:09:17 +08:00
XiaoDong bbde386a7c
test(runtime-vapor): add apiSetupContext unit test (#237)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-06-19 01:00:16 +08:00
XiaoDong bc04592ca9
test(runtime-vapor): add unit test for config.performance (#234)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-06-18 00:22:56 +08:00
Doctor Wu 80acfa5030
test(runtime-vapor): add directive test case (#231) 2024-06-16 23:08:18 +08:00
Doctor Wu ad3d8fa6b4
test(runtime-vapor): fix type (#229) 2024-06-16 16:50:24 +08:00
Rizumu Ayaka c9241da4fa
feat(runtime-vapor): slot props (#227) 2024-06-10 23:19:39 +08:00
三咲智子 Kevin Deng 598b55f1e8
test(runtime-vapor): finish expose and inject tests 2024-06-05 04:35:13 +08:00
三咲智子 Kevin Deng bbd1944ce5
test(runtime-vapor): finish createVaporApp unit tests 2024-06-05 04:20:20 +08:00
Doctor Wu 8a59311a22
perf(compiler-vapor/runtime-vapor): finer update granularity (#222) 2024-06-03 06:48:13 +08:00
Rizumu Ayaka b2259a5f92
refactor: general destructuring function (#221) 2024-05-31 15:49:49 +08:00
Rizumu Ayaka 868c4294a0
feat: destructuring + nesting in v-for (#217)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-29 16:25:08 +08:00
Doctor Wu 107569b922
feat(runtime-vapor): resolve assets of components & directives (#214) 2024-05-29 01:43:47 +08:00
Rizumu Ayaka b5ecb72864
feat: directive lifecycle hooks in `v-for`, `v-if` and component (#123)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-27 02:47:51 +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
三咲智子 Kevin Deng d77c7ade77
feat(runtime-vapor): implement app plugin 2024-05-17 20:54:08 +08:00
三咲智子 Kevin Deng 1c54cae29a
refactor(runtime-vapor): remove default value 2024-05-12 00:01:27 +08:00
Doctor Wu 69580515d9
feat: implement setRef update (#191)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-01 03:17:16 +09:00
三咲智子 Kevin Deng 05f4ade4d9
feat(runtime-vapor): warning with component stack 2024-04-28 22:50:17 +09:00
Jevon cd582949f2
feat(runtime-vapor): `v-show` for component (#188)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-04-27 00:02:34 +08:00
Doctor Wu b7b652eb71
feat(runtime-vapor): template ref on component (#185) 2024-04-25 04:57:45 +08:00
GaoNeng d6c5bcf833
feat(runtime-core): implement debug hook (#183) 2024-04-21 20:30:47 +08:00
Doctor Wu d490bf2ed7
feat(runtime-vapor): implement expose (#181)
Co-authored-by: Kevin Deng 三咲智子 <sxzz@sxzz.moe>
2024-04-20 22:17:30 +08:00
Jevon 37df043adc
feat(runtime-vapor): runtime for v-on in component (#178)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-04-19 16:49:21 +08:00
Rizumu Ayaka b447aceac5
fix(runtime-vapor): detach effect scope & component instance (#174) 2024-04-16 16:55:44 +08:00
Rizumu Ayaka 07926564fc
feat(runtime-vapor): `createSlot` (#170) 2024-04-14 17:41:58 +08:00
Rizumu Ayaka 9a33d79963
feat(runtime-vapor): attach current instance to render slot (#168) 2024-04-06 22:10:45 +08:00
ubugeeei db140a1e37
feat(runtime-vapor): setup helpers useAttrs & useSlots (#172) 2024-04-01 03:51:37 +08:00
ubugeeei ba17fb9910
fix(runtime-vapor): trigger updated hooks across components (#165) 2024-03-24 20:30:14 +08:00