Commit Graph

7356 Commits

Author SHA1 Message Date
Evan You 33d1b8bcec
wip: use proxy for static props too 2024-12-04 23:29:01 +08:00
Evan You 52fabd51af
chore: vapor playground preview script 2024-12-04 22:25:50 +08:00
Evan You 23ba438be1
wip(vapor): align compiler with new props runtime behavior 2024-12-04 21:08:12 +08:00
Evan You 59b1aeda51
chore: notes 2024-12-04 15:24:52 +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 4fe05bdd74
wip(vapor): reuse createApp from core 2024-12-04 11:54:26 +08:00
Evan You cc2439c9e6
wip: vapor warning context integration 2024-12-04 10:53:29 +08:00
Evan You ccd3f3f5c6
refactor(reactivity): only setup onTrigger debug flags on assign 2024-12-03 23:26:30 +08:00
Evan You e88c4e2ea7
chore: playground 2024-12-03 22:55:48 +08:00
Evan You 65fc9769f2
wip: emits 2024-12-03 22:49:28 +08:00
Evan You 72d82353ee
refactor: make core warning and errorHandling vdom/vapor generic 2024-12-03 21:43:18 +08:00
Evan You 4ea66770be
wip: filter emits 2024-12-03 17:20:07 +08:00
Evan You 9d89d7ab27
refactor: expose scheduler for vapor 2024-12-03 16:58:07 +08:00
Evan You 783d8b4d0d
refactor: reuse props logic from core 2024-12-03 16:48:28 +08:00
Evan You f8046a3e1a
wip: attr fallthrough 2024-12-03 13:21:10 +08:00
Evan You 1636dce788
wip: inheritAttrs 2024-12-03 00:30:33 +08:00
Evan You 435ca32ff8
wip: props casting 2024-12-02 23:52:04 +08:00
Johnson Chu 313dc61bef
perf(reactivity): refactor reactivity core by porting alien-signals (#12349) 2024-12-02 21:05:12 +08:00
Evan You 0986051f12
chore: avoid toHandlers not treeshaken 2024-12-02 21:00:52 +08:00
Evan You f3b90706ef
chore: disable modulePreload 2024-12-02 21:00:34 +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 a3edc274e4
chore: remove unnecessary config in dev config [ci skip] 2024-12-01 18:21:38 +08:00
Evan You 5828f2441f
perf: use class for SetupContext 2024-12-01 17:37:49 +08:00
Evan You d6415d8442
chore: use actual production build for playground build and preview 2024-12-01 17:37:17 +08:00
Evan You 516d4ed180
chore: revert temporarily commented lines 2024-12-01 17:25:25 +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
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
Rizumu Ayaka f0361bafbb
perf(runtime-vapor): `setup()` returning object is only needed in __DEV__ (HMR) (#296) 2024-11-30 18:32:16 +08:00
edison e61cedf3fd
perf(runtime-vapor): use `setAttr` or `setDOMProp` instead of `setDynamicProp` when possible (#291)
Co-authored-by: Doctor Wu <doctorwu@moego.pet>
2024-11-27 16:55:45 +08:00
renovate[bot] 5a5406d002
chore(deps): update all non-major dependencies (#12463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 08:49:07 +08:00
renovate[bot] d82fb465a6
chore(deps): update build (#12464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 08:42:42 +08:00
renovate[bot] fc4bbf95c1
chore(deps): update test (#12002)
* chore(deps): update test

* chore: pin puppeteer

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: daiwei <daiwei521@126.com>
2024-11-22 14:51:15 +08:00
Liu Bo 06310e82f5
fix(types): allow return any for Options API lifecycle hooks (#5914)
Co-authored-by: edison <daiwei521@126.com>
2024-11-19 20:29:08 +08:00
renovate[bot] 14f6917c3c
chore(deps): update all non-major dependencies (#12423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 11:30:02 +08:00
renovate[bot] 01057fc74c
chore(deps): update build (#12421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 11:29:29 +08:00
renovate[bot] fdaff720d7
fix(deps): update compiler (#12422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 10:31:14 +08:00
renovate[bot] c028aeafa9
chore(deps): update lint (#12424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 10:28:12 +08:00
Kevin Deng 三咲智子 9a2158d2f0
refactor(vapor): drop `v-memo` (#288)
* refactor(runtime-vapor): drop memo

* drop
2024-11-18 04:51:15 +08:00
三咲智子 Kevin Deng 3f6ce964c7
feat(vapor): support more magic vars 2024-11-16 06:58:26 +08:00
三咲智子 Kevin Deng 81b3d36304
fix(vapor): destructure in `v-for` 2024-11-16 06:33:44 +08:00
三咲智子 Kevin Deng 0c7817ceed
fix(compiler-vapor): stringify number prop value 2024-11-16 04:23:21 +08:00
三咲智子 Kevin Deng 4078206e16
fix(runtime-vapor): attach scope id only to root sub-element 2024-11-16 04:03:33 +08:00
三咲智子 Kevin Deng de3a611eae
fix(runtime-vapor): export types from reactivity 2024-11-16 03:51:08 +08:00
三咲智子 Kevin Deng f6ce3f9d43
Merge tag 'v3.5.13' 2024-11-16 02:48:30 +08:00
三咲智子 Kevin Deng d84510844f
refactor(runtime-vapor): extract fallback component 2024-11-16 02:43:56 +08:00
三咲智子 Kevin Deng 886440d240
test(runtime-vapor): tidy custom directives test 2024-11-16 02:36:38 +08:00