Commit Graph

88 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng c366948ded
chore: upgrade deps, remove playground demos 2024-09-22 22:34:41 +08:00
Kevin Deng 三咲智子 884c190f08
feat: `v-memo` for `v-for` (#276) 2024-09-19 15:40:20 +08:00
三咲智子 Kevin Deng 594cb1412d
Merge remote-tracking branch 'upstream/main' 2024-09-17 10:33:35 +08:00
Kevin Deng 三咲智子 25f8502546
workflow: add quick benchmark (#266) 2024-08-07 03:51:40 +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
shellingfordly ca61022e69
fix(playground): import type error (#219)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-05-28 20:39:18 +08:00
Rizumu Ayaka 2e2f3e2b96
test(vue-vapor): todomvc e2e test (#115) 2024-05-21 08:43:46 +08:00
GaoNeng 1b2cb722fe
fix(playground): add `@vue/runtime-shared` dep (#210) 2024-05-14 03:51:49 +08: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
ubugeeei db140a1e37
feat(runtime-vapor): setup helpers useAttrs & useSlots (#172) 2024-04-01 03:51:37 +08:00
ubugeeei 78f74ce241
feat(runtime-vapor): component slot (#143)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-03-24 20:29:00 +08:00
Rizumu Ayaka 46761880e9
refactor(baseWatch): rename onEffectCleanup to onWatcherCleanup and getCurrentEffect to getCurrentWatcher for clarity 2024-03-17 22:39:11 +08:00
Kevin Deng 三咲智子 463b47e83d
feat: create component & component lifecycle/props/attrs (#151) 2024-03-16 18:54:36 +08:00
三咲智子 Kevin Deng 808d17dbd1
refactor(runtime-vapor): split create component & render 2024-03-14 16:32:22 +08:00
三咲智子 Kevin Deng 4af8e87953
feat: support more source types for v-for
closes #139

Co-authored-by: wangjie36 <826036140@qq.com>
2024-03-01 06:37:53 +08:00
三咲智子 Kevin Deng 83641f709b
chore(playground): add vapor flag 2024-02-27 23:29:18 +08:00
三咲智子 Kevin Deng cb53a1e0cf
fix(playground): upgrade vite plugin 2024-02-26 23:09:29 +08:00
三咲智子 Kevin Deng 2075042956
refactor: remove append helper
replace `append` with `insertBefore`
2024-02-26 21:38:04 +08:00
三咲智子 Kevin Deng fb3e8ee8c0
refactor: merge delegate & modifier options of event 2024-02-25 15:11:25 +08:00
三咲智子 Kevin Deng 26f29b2529
refactor(runtime-vapor): move metadata from instance to node 2024-02-23 01:21:00 +08:00
三咲智子 Kevin Deng 0ecb0ea1b0
chore: fix type error 2024-02-20 21:41:09 +08:00
ygj6 b11ecbda69
feat(runtime-vapor): reset old props when setting dynamic props (#131)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-20 21:13:48 +08:00
三咲智子 Kevin Deng 6c25fb612a
fix(playground/bench): output 2024-02-15 07:47:21 +08:00
三咲智子 Kevin Deng 3430b0c977
fix(playground): inline dep name 2024-02-15 07:45:39 +08:00
三咲智子 Kevin Deng 670109e287
feat(playground): add benchmark 2024-02-15 06:34:03 +08:00
dependabot[bot] 95b08e8fc6
chore(deps-dev): bump vite from 5.0.2 to 5.0.12 (#129)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 15:26:42 +08:00
三咲智子 Kevin Deng 8bb0e0887b
refactor(playground): add vapor option [ci skip] 2024-02-14 14:42:59 +08:00
三咲智子 Kevin Deng 79f3929cd2
chore(playground): dark mode [ci skip] 2024-02-13 03:19:15 +08:00
三咲智子 Kevin Deng 4fc344fde6
chore(playground): remove todo [ci skip] 2024-02-10 15:56:57 +08:00
三咲智子 Kevin Deng aaf3d00f45
chore(playground): enable template.vapor option 2024-02-09 20:16:45 +08:00
三咲智子 Kevin Deng 5533350c75
chore(playground): use terser for minify 2024-02-09 00:09:21 +08:00
ygj6 d573a3d2f2
feat: support v-bind="{}" (#106)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-02-05 02:44:30 +08:00
三咲智子 Kevin Deng 8dec243dc1
fix(reactivity): keep previous effect scope 2024-02-03 06:15:51 +08:00
三咲智子 Kevin Deng 681dc5d954
feat(compiler-vapor): v-for (#101) 2024-01-31 17:00:19 +08:00
三咲智子 Kevin Deng 17af64c0c1
feat(runtime-vapor): createFor 2024-01-28 20:16:35 +08:00
三咲智子 Kevin Deng 61bec8a71d
refactor(playground): replace v-show with v-if 2024-01-28 01:54:26 +08:00
三咲智子 Kevin Deng 0255505b5d
feat(playground): todo mvc 2024-01-25 17:00:19 +08:00
三咲智子 Kevin Deng 32604cf91c
refactor(runtime-vapor): template refs 2024-01-21 13:59:56 +08:00
三咲智子 Kevin Deng 31e8fa35c0
feat: v-model for input & textarea 2024-01-21 02:16:53 +08:00
三咲智子 Kevin Deng 782d60475d
feat: basic template ref 2024-01-20 23:48:10 +08:00
三咲智子 Kevin Deng 35334fd33e
fix(runtime-vapor): patch prop 2024-01-20 13:38:20 +08:00
三咲智子 Kevin Deng 10f8cb4351
fix(compiler-vapor): don't setText for root element 2024-01-19 22:50:12 +08:00
Rizumu Ayaka 2cce436aaf
feat(runtime-vapor): lifecycle beforeUpdate and updated hooks (#89) 2024-01-13 03:25:57 +08:00
三咲智子 Kevin Deng bb8cc447eb
chore: upgrade vite-node 2024-01-11 14:26:53 +08:00
Rizumu Ayaka 26fee414ff
feat: compound expression for `v-on` (#60) 2024-01-08 14:07:49 +08:00
Rizumu Ayaka d06aac7aa2
style: fix format in vapor 2023-12-29 22:11:33 +08:00
Rizumu Ayaka dce55475a5
style: fix lint errors in vapor 2023-12-29 22:05:33 +08:00
Rizumu Ayaka 5b3027f0a9
feat(runtime-vapor): `watchEffect`/`watch` and `onEffectCleanup` (#69) 2023-12-23 15:17:18 +08:00
GaoNeng 9d3abcf24b
feat(runtime-vapor): mounted & unmounted hook (#46)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-12-15 01:47:56 +08:00