Commit Graph

5728 Commits

Author SHA1 Message Date
Evan You ac43b11897
fix(reactivity): toRefs should be allowed on plain objects 2024-12-09 21:47:55 +08:00
Evan You b7aec139cb
test(vapor): block tests 2024-12-09 20:57:40 +08:00
Evan You ec23ab9e3a
test(vapor): renderEffect 2024-12-09 18:35:41 +08:00
Evan You 2bbb6d2fc5
fix(scheduler): recover nextTick from error in post flush cb 2024-12-09 18:35:28 +08:00
Evan You 2b05c1e906
wip: remove setInheritAttrs codegen 2024-12-09 17:19:16 +08:00
Evan You edde81cf67
wip: respect inheritAttrs 2024-12-09 13:12:37 +08:00
Evan You 4df4624415
chore: make vapor compiler tests pass 2024-12-09 13:09:31 +08:00
Evan You f2b69d79ca
chore: remove non-function-related changes from vapor branch 2024-12-09 09:03:43 +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 4f613dcabf
chore: remove vue/vapor 2024-12-08 23:13:20 +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 6c4018652b
chore: fix vdom slots currentInstance 2024-12-08 16:42:07 +08:00
Evan You e8067f1cd9
wip: prepare hmr for vapor 2024-12-08 16:32:29 +08:00
Evan You 6f5493c677
wip: make dev mode work for sfc generated code 2024-12-08 16:22:23 +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 9a8645d0c5
wip: adjust slot props compilation 2024-12-08 11:02:11 +08:00
Evan You f8a7046e65
wip: slot props 2024-12-08 10:16:25 +08:00
Evan You f413e00e43
chore: element -> node 2024-12-07 22:08:08 +08:00
Evan You 407b9abc0b
chore: BlockFn 2024-12-07 22:05:11 +08:00
Evan You aa96762ad4
wip: dynamic slots 2024-12-07 21:56:54 +08:00
Evan You e6d4a24f1f
wip: adjust slots codegen 2024-12-07 18:30:33 +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 db3151b1a5
wip: avoid including vdom-only public properties map in bundle 2024-12-06 23:06:11 +08:00
Evan You 68aa9bd768
wip: respect rootProps in createVaporApp 2024-12-06 22:50:53 +08:00
Evan You 3ef1656d4a
wip: slots proxy 2024-12-06 22:45:45 +08:00
Evan You 685f7820a1
wip: fix props/attrs bugs 2024-12-06 22:13:48 +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 ebe787108d
wip(vapor): mounted/beforeMounted lifecycle hooks 2024-12-05 23:19:51 +08:00
Evan You e23a6a8746
wip: unify currentInstance between vdom and vapor + provide/inject 2024-12-05 23:13:24 +08:00
Evan You ee7a93df27
refactor: split current instance logic to separate file 2024-12-05 21:25:16 +08:00
Evan You 4baaa7bca3
wip: optimize props validation 2024-12-05 17:50:09 +08:00
Evan You fc9aa62248
wip: handle props case matching 2024-12-05 17:33:39 +08:00
Evan You 93a16af08e
wip: vapor component props validation 2024-12-05 16:14:38 +08:00
Evan You 8725954244
wip: should resolve dynamic props first + optimize ownKeys 2024-12-05 13:17:28 +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 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