Commit Graph

5785 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng ed9368c06c
refactor(compiler-vapor): make dynamic.children an array 2024-01-29 22:28:40 +08:00
三咲智子 Kevin Deng 22436ea341
refactor(compiler-vapor): decoupe insert and non-template 2024-01-29 22:15:34 +08:00
三咲智子 Kevin Deng 79636ddc5b
refactor(compiler-vapor): dynamicFlag 2024-01-29 22:08:57 +08:00
Rizumu Ayaka 63a127b612
feat(compiler-vapor): `v-else` / `v-else-if` (#98)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-01-29 03:42:56 +08:00
三咲智子 Kevin Deng 63aacf6194
style: respect root prettier config 2024-01-29 03:11:30 +08:00
三咲智子 Kevin Deng 17af64c0c1
feat(runtime-vapor): createFor 2024-01-28 20:16:35 +08:00
三咲智子 Kevin Deng 4be1fc1d60
ci: show size report for push job 2024-01-28 03:41:04 +08:00
三咲智子 Kevin Deng fcaa315493
chore: add compiler-vapor & dom for size report 2024-01-28 03:37:36 +08:00
三咲智子 Kevin Deng 86ed0eddae
perf(compiler-vapor): use array instead of regex 2024-01-28 03:35:04 +08:00
三咲智子 Kevin Deng d3baff92b1
fix(compiler-vapor): don't mutate ast 2024-01-28 03:32:27 +08:00
三咲智子 Kevin Deng 7e47ae17f9
feat(compiler-vapor): add error check and simplify for v-if 2024-01-28 02:14:42 +08:00
三咲智子 Kevin Deng 61bec8a71d
refactor(playground): replace v-show with v-if 2024-01-28 01:54:26 +08:00
三咲智子 Kevin Deng 9c9e9b2862
refactor(compiler-vapor): dedpue fragment 2024-01-28 01:39:21 +08:00
Rizumu Ayaka ede6c29434
feat(compiler-vapor): `v-if` (#96)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-01-28 01:31:20 +08:00
三咲智子 Kevin Deng 2b5e8e4df6
test(compiler-vapor): refactor compile 2024-01-27 22:13:37 +08:00
三咲智子 Kevin Deng 164fd90df4
refactor(compiler-vapor): codegen result 2024-01-27 22:00:34 +08:00
三咲智子 Kevin Deng c2c8070207
refactor(compiler-vapor): group directives by same element 2024-01-27 20:49:43 +08:00
三咲智子 Kevin Deng 0255505b5d
feat(playground): todo mvc 2024-01-25 17:00:19 +08:00
三咲智子 Kevin Deng 359a5dab19
refactor: get oldVal from metadata 2024-01-25 17:00:19 +08:00
三咲智子 Kevin Deng 8848d10522
fix(compiler-vapor): omit prop key for set class&style 2024-01-25 16:24:50 +08:00
三咲智子 Kevin Deng 69b8074122
feat(sfc-playground): display vapor status 2024-01-24 22:14:12 +08:00
三咲智子 Kevin Deng 1f134ae43a
feat(runtime-vapor): expose vapor mode flag 2024-01-24 22:11:46 +08:00
ygj6 5028880e5b
feat: generate specific function when the prop key is static (#97)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-01-22 23:03:39 +08:00
三咲智子 Kevin Deng 51098cff94
feat: repl (#94) 2024-01-21 16:51:28 +08:00
三咲智子 Kevin Deng 32604cf91c
refactor(runtime-vapor): template refs 2024-01-21 13:59:56 +08:00
三咲智子 Kevin Deng 1d11ed72fb
refactor(compiler-vapor): extract gen operation 2024-01-21 13:43:23 +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 6a26db2adc
refactor(runtime-vapor): remove ref wrapper for mounted state 2024-01-20 20:46:41 +08:00
三咲智子 Kevin Deng 9d071e7c31
fix(runtime-vapor): set setupState 2024-01-20 20:22:06 +08:00
三咲智子 Kevin Deng 35334fd33e
fix(runtime-vapor): patch prop 2024-01-20 13:38:20 +08:00
ygj6 775491e46d
feat: prop and attr modifiers for v-bind (#79) 2024-01-20 13:31:16 +08:00
三咲智子 Kevin Deng 199b19f076
test: update snapshot 2024-01-20 13:29:55 +08:00
三咲智子 Kevin Deng 10f8cb4351
fix(compiler-vapor): don't setText for root element 2024-01-19 22:50:12 +08:00
三咲智子 Kevin Deng fc651f6905
fix(runtime-vapor): normalize state&block 2024-01-19 22:43:43 +08:00
三咲智子 Kevin Deng 305a651c68
chore: update comment 2024-01-19 17:10:10 +08:00
三咲智子 Kevin Deng 5c0b8bbeb3
refactor: simplify code 2024-01-19 16:59:03 +08:00
三咲智子 Kevin Deng 839aa86cf8
chore: update todo 2024-01-19 16:43:45 +08:00
Rizumu Ayaka 1e0070c208
feat(runtime-vapor): createIf (#95)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2024-01-19 16:38:41 +08:00
三咲智子 Kevin Deng 15e0419106
style: format tsconfig 2024-01-19 16:38:00 +08:00
三咲智子 Kevin Deng 736db791a4
Merge remote-tracking branch 'upstream/main' 2024-01-19 16:29:21 +08:00
Evan You ee4cd78a06 release: v3.4.15 2024-01-18 21:34:34 +08:00
Evan You de4d2e2143 perf(templateRef): avoid double render when using template ref on v-for
close #9908
2024-01-18 21:25:10 +08:00
Evan You c3087ff2cc fix: correct url for production error reference links 2024-01-18 20:00:01 +08:00
Evan You 2ffb956efe perf(v-model): optimize v-model multiple select w/ large lists
close #10014
2024-01-18 19:55:15 +08:00
Evan You 75e866bd4e fix(compiler-sfc): fix type resolution for symlinked node_modules structure w/ pnpm
close #10121
2024-01-18 13:52:42 +08:00
inottn 6fa33e67ec
fix(runtime-core): should not warn out-of-render slot fn usage when mounting another app in setup (#10125)
close #10124
2024-01-18 11:45:11 +08:00
Evan You 81d307a1e9 refactor: use shared isAttrRenderable logic between ssr and hydration 2024-01-18 11:23:59 +08:00
Evan You 492a720fd0 chore: remove unused import 2024-01-18 11:23:50 +08:00
Evan You d16a2138a3 fix(hydration): fix incorect mismatch warning for option with non-string value and inner text
close 10140
2024-01-18 11:20:32 +08:00