Commit Graph

128 Commits

Author SHA1 Message Date
Kevin Deng 三咲智子 928af5fe2f
refactor(types): enable `isolatedDeclarations` (#11178) 2024-08-08 23:05:21 +08:00
edison 275354caba
fix(compiler-ssr): don't render v-if comments in TransitionGroup + static tag (#11515)
close #11514
2024-08-06 18:25:13 +08:00
Evan You 79602f9ecd
fix(ssr): respect textContent/innerHTML from getSSRProps in optimized SSR output
close #8112
2024-08-06 18:14:59 +08:00
Evan You f12c81efca
fix(compiler-ssr): fix hydration mismatch for conditional slot in transition
close #10743
2024-04-22 22:23:09 +08:00
Evan You 1ff407676f
fix(compiler-ssr): fix v-html SSR for nullish values
close #10725
2024-04-18 12:49:56 +08:00
Jonas 5a9626708e
fix(ssr): don't render v-if comments in TransitionGroup (#6732)
close #6715
2024-04-15 21:26:19 +08:00
Evan You 0ae651a5f0 chore: remove log 2024-01-04 15:45:35 +08:00
edison 7dbdb3edf0
fix(compiler-ssr): fix node clone edge case caused by AST reuse (#9983)
close #9981
2024-01-04 10:52:09 +08:00
edison 6cb00ed0f9
fix(ssr): fix hydration error for slot outlet inside transition-group (#9937)
close #9933
2023-12-30 19:01:07 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
ZHAO Jin-Xiang fff7b864f4
feat: use enum to replace const enum (#9261)
close #1228
2023-11-29 12:24:50 +08:00
Evan You fb619cf9a4 fix(compiler-sfc): fix ast reuse for ssr 2023-11-27 15:38:30 +08:00
Evan You be6cae7dac chore: remove isSelfClosing property 2023-11-25 18:03:22 +08:00
Evan You dda4fd526e wip: pass all compiler-ssr tests 2023-11-25 16:18:29 +08:00
Evan You a60ad9180d refactor: swap to new template parser
- get rid of SourceLocation.source for memory efficiency
- move source location generation logic transform phase into the parser
  itself so that SourceLocation.source is no longer needed
  - move v-for expression parsing into the parser itself
  - added nameLoc on AttributeNode for use in transformElement

Tests are not passing yet.
2023-11-25 16:18:29 +08:00
Evan You 66c0ed0a3c perf: optimize away isBuiltInType 2023-11-25 16:18:29 +08:00
Ha Pam 341b5416b2
chore: typo and grammar (#8568) [ci skip]
Co-authored-by: Han <phamvanhan@gmail.com>
2023-11-10 13:42:26 +08:00
edison e09c26bc9b
fix(compiler-ssr): proper scope analysis for ssr vnode slot fallback (#7184)
close #7095
2023-10-25 01:01:29 +08:00
edison 5ea8a8a4fa
fix(transition/ssr): make transition appear work with SSR (#8859)
close #6951
2023-10-24 09:36:10 +08:00
edison cdb2e725e7
fix(compiler-ssr): fix ssr compile error for select with non-option children (#9442)
fix #9440
2023-10-20 20:39:31 +08:00
白雾三语 61c1357427
fix(compiler-ssr): fix missing scopeId on server-rendered TransitionGroup (#7557)
close #7554
2023-10-20 16:21:41 +08:00
edison 201c46df07
fix(ssr): render correct initial selected state for select with v-model (#7432)
close #7392
2023-07-11 17:13:18 +08:00
Evan You bbd8301a13 feat(deprecation): deprecate v-is directive 2023-04-21 15:30:26 +08:00
Evan You 6213b73cd2 build: custom const enum processing 2023-02-03 09:54:15 +08:00
三咲智子 Kevin Deng 9060bf0353
refactor(compiler-core): make ast.helpers a Set (#6774) 2022-11-13 20:44:02 -05:00
Evan You 09bb3e996e fix(compiler-ssr): fix invalid codegen when v-slot name is explicit empty attr (#3326)
squashed from fix by @tjk
2022-10-26 16:18:19 +08:00
Anthony Fu 534593cfa8 chore: format 2022-10-03 15:30:43 +08:00
Anthony Fu 57ffc3e546
fix(ssr): avoid ast.helpers duplication (#6664) 2022-09-27 05:06:24 -04:00
Anthony Fu 2024d11db0
fix(ssr): forward helpers provided by CSS `v-bind` (#6489)
fix #6201
2022-08-28 23:09:21 -04:00
小刘(liulinboyi) eb22a62798
fix(ssr): hydration for transition wrapper components with empty slot content (#5995)
fix #5991
2022-06-06 04:24:40 -04:00
Evan You 516bc548fc fix(compiler-ssr): fix wrong attrs fallthrough on non-single-root v-if branches
fix #5140
2022-05-19 11:21:17 +08:00
Evan You 3705b3b46a fix(ssr): fix hydration error when transition contains comment children
fix #5351
2022-05-18 10:03:00 +08:00
Evan You aed10c5072 fix(ssr): render fallthrough attributes for transition-group with tag
fix #5141
2022-05-18 09:55:39 +08:00
Evan You ee4186ef9e fix(ssr): fix hydration error on falsy v-if inside transition/keep-alive
fix #5352
2022-05-18 09:28:18 +08:00
Evan You c65b805ef1 fix(compiler-ssr): only inject fallthrough attrs for root transition/keep-alive 2022-05-18 08:37:24 +08:00
Evan You 415091b0ee fix(compiler-core): should generate HYDRATE_EVENTS flag on dynamic component that resolves to element
fix #5870
2022-05-17 16:39:48 +08:00
Evan You f811dc2b60 fix(compiler-ssr): fix component event handlers inheritance in ssr
fix #5664
2022-05-17 15:50:23 +08:00
Evan You 9309b044bd fix(ssr): fix hydration error for slot outlet inside transition
fix #3989
2022-05-12 15:06:32 +08:00
Evan You 436c500d2c fix(compiler-ssr): no need to inject resolveDirective calls for setup custom directives 2022-02-12 16:29:24 +08:00
Evan You 60cf175d88 feat(ssr): support custom directive getSSRProps in optimized compilation
close #5304
2022-02-04 08:58:31 +08:00
Yugang Cao e603fd258c
chore: fix typo (#5261) [ci skip] 2022-01-21 01:18:34 -05:00
Evan You 55cc4af25e fix(ssr): remove missing ssr directive transform error 2022-01-16 15:20:56 +08:00
Evan You 1c9a4810fc fix(compiler): force block for custom dirs and inline beforeUpdate hooks
to ensure they are called before children updates
2021-12-10 15:36:10 +08:00
tryag 2ca45dc3e6
chore: fix docs typo (#4602) [ci skip] 2021-09-21 12:49:41 -04:00
Evan You dd9a2760a8 fix(compiler-ssr): handle v-memo in ssr compilation 2021-09-17 10:23:06 -04:00
webfansplz 0627765b36
chore(types): remove unnecessary type assertions (#4336) 2021-08-16 18:19:44 -04:00
skirtle 620a69b871
fix(runtime-dom): consistently remove boolean attributes for falsy values (#4348) 2021-08-16 18:18:36 -04:00
webfansplz 9c931d8154
chore(types): remove unnecessary non-null assertion (#4169) 2021-07-21 15:50:08 -04:00
Evan You 47f488350c chore: run updated prettier 2021-07-19 18:24:18 -04:00
HcySunYang ceff89905b perf: improve VNode creation performance with compiler hints (#3334) 2021-07-16 14:30:49 -04:00