Evan You
94fb2b8106
feat(hydration): support suppressing hydration mismatch via data-allow-mismatch
2024-07-25 11:22:27 +08:00
Evan You
f15ba2c2e2
chore: Merge branch 'main' into minor
2024-07-17 17:32:31 +08:00
linzhe
3e9e32ee0a
fix(runtime-dom): properly handle innerHTML unmount into new children ( #11159 )
...
close #9135
2024-07-17 16:37:14 +08:00
Evan You
c10e40a217
fix(hydration): fix tracking of reactive style objects in production
...
close #11372
2024-07-17 12:14:25 +08:00
Evan You
f44c3b37d4
fix(hydration): handle consectuvie text nodes during hydration
...
close #7285
close #7301
2024-07-16 11:09:00 +08:00
Evan You
7d06ca3a83
chore: Merge branch 'main' into minor
2024-06-22 21:05:15 +08:00
Evan You
a959781dd6
fix(runtime-core): update devtool __vnode on patch, avoid memory leak during dev
...
close #11192
2024-06-22 20:54:46 +08:00
Evan You
3169c91493
fix(hydration): skip prop mismatch check for directives that mutate DOM in created
...
close #11189
2024-06-22 18:05:45 +08:00
yangxiuxiu
7ad67ced26
fix(hydration): fix css vars hydration mismatch false positive on attr-fallthrough ( #11190 )
...
close #11188
2024-06-22 17:49:25 +08:00
Evan You
26356264d2
chore: Merge branch 'main' into minor
2024-06-14 12:32:28 +02:00
Rodrigo Pimentel
5afc76c229
fix(hydration): log hydration error even when using async components ( #9403 )
...
close #9369
2024-06-07 15:45:16 +08:00
Evan You
cd0ea0d479
fix(compiler-core): change node hoisting to caching per instance ( #11067 )
...
close #5256
close #9219
close #10959
2024-06-04 20:09:54 +08:00
Kevin Deng 三咲智子
cdb1d1795d
chore: disallow optional chaining ( #10919 )
2024-05-29 15:03:20 +08:00
edison
d1011c07a9
fix(ssr): fix hydration for node with empty text node ( #7216 )
2024-05-27 16:50:49 +08:00
Evan You
f2c1412e46
fix(hydration): handle edge case of style mismatch without style attribute
...
ref #10786
2024-05-06 15:38:16 -07:00
edison
2ec06fd6c8
fix(hydration): properly handle optimized mode during hydrate node ( #10638 )
...
close #10607
2024-04-15 21:23:30 +08:00
Divyansh Singh
0dea7f9a26
fix(runtime-core): show hydration mismatch details for non-rectified mismatches too when __PROD_HYDRATION_MISMATCH_DETAILS__ is set ( #10599 )
2024-04-02 16:36:52 +08:00
Evan You
995d2fdcca
fix(hydration): fix css vars hydration mismatch false positive on non-root nodes
...
close #10317
test case from #10325
2024-02-13 18:00:23 +08:00
yangxiuxiu
f0b5f7ed8d
fix(hydration): fix SFC style v-bind hydration mismatch warnings ( #10250 )
...
close #10215
2024-02-06 17:38:41 +08:00
Evan You
81d307a1e9
refactor: use shared isAttrRenderable logic between ssr and hydration
2024-01-18 11:23:59 +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
zhoulixiang
08b60f5d0d
fix(hydration): improve mismatch when client valut is null or undefined ( #10086 )
2024-01-12 17:50:26 +08:00
Evan You
3907c87ce2
fix(hydration): should not warn on falsy bindings of non-property keys
2024-01-11 21:07:41 +08:00
Evan You
dcc68ef7d4
fix(hydration): do not warn against bindings w/ object values
2024-01-11 16:18:00 +08:00
Evan You
5af3987291
fix(hydration): fix class and style hydration mismatch message
...
close #10067
2024-01-11 00:49:46 +08:00
Evan You
972facee0d
fix(hydration): improve attr hydration mismatch check for boolean attrs
...
close #10057
close #10060
2024-01-10 14:14:47 +08:00
zhoulixiang
2701355e8e
fix(hydration): avoid hydration mismatch warning for styles with different order ( #10011 )
...
close #10000
close #10006
2024-01-08 16:36:27 +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
Evan You
e585b0db43
fix(ssr): avoid hydration mismatch warning for classes with different order
2023-12-20 10:48:01 +08:00
Evan You
e8448b018d
fix(ssr): fix hydration prop mismatch check for class on SVG elements
2023-12-19 18:09:42 +08:00
Evan You
33159a5916
fix(hydration): should not warn mismatch for nullish prop
2023-12-13 02:41:49 +08:00
Evan You
f41fd86d5f
fix(hydration): swap client/server labels for hydration mismatch warnings
...
this was swapped in #9098 but lost when merging #5953
2023-12-12 20:05:49 +08:00
Fabian Gündel
d42b6ba3f5
feat: MathML support ( #7836 )
...
close #7820
2023-12-08 18:25:01 +08:00
Divyansh Singh
bc7698dbfe
feat(ssr): add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` feature flag ( #9550 )
2023-12-08 16:41:15 +08:00
Evan You
2ffc1e8cfd
feat(ssr): improve ssr hydration mismatch checks ( #5953 )
...
- Include the actual element in the warning message
- Also warn class/style/attribute mismatches
Note: class/style/attribute mismatches are check-only and will not be
rectified.
close #5063
2023-12-08 15:49:09 +08:00
ZHAO Jin-Xiang
fff7b864f4
feat: use enum to replace const enum ( #9261 )
...
close #1228
2023-11-29 12:24:50 +08:00
renovate[bot]
16a6438236
chore(deps): update lint ( #9627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-18 10:33:24 +08:00
Anthony Fu
5156ac5b38
fix(ssr): hydration `__vnode` missing for devtools ( #9328 )
2023-11-10 15:27:16 +08:00
Evan You
364f319d21
fix(hydration): force hydration for v-bind with .prop modifier
...
ref #7490
2023-11-10 13:13:07 +08:00
Evan You
34b5a5da4a
fix(hydration): properly hydrate indeterminate prop
...
close #7476
2023-11-10 12:19:27 +08:00
Evan You
dd8a0cf5dc
fix(hydration): fix tagName access eeror on comment/text node hydration mismatch
...
fix #9531
2023-11-06 18:45:42 +08:00
edison
5ea8a8a4fa
fix(transition/ssr): make transition appear work with SSR ( #8859 )
...
close #6951
2023-10-24 09:36:10 +08:00
Carlos Rodrigues
d8990fc618
fix(ssr): fix hydration mismatch for disabled teleport at component root ( #9399 )
...
close #6152
2023-10-21 11:37:52 +08:00
Evan You
5479d1e5bb
chore: format
2023-09-05 15:24:10 +08:00
Daniel Roe
8f311c6f82
fix(runtime-core): swap client/server debug labels ( #9089 )
2023-09-05 15:21:20 +08:00
Evan You
9698dd3cf1
fix(ssr): fix hydration mismatch when entire multi-root template is stringified
...
fix #6637
2022-09-28 09:33:17 +08:00
liulinboyi
11e17a1a29
fix(runtime-core): hydrate Static vnode ( #6015 )
...
fix #6008
2022-06-06 16:45:24 +08:00
Thorsten Lünborg
d4d3319c1b
fix(ssr): ensure app can be unmounted when created with createSSRApp() ( #5992 )
...
fix #5990
2022-05-24 08:30:40 -04:00
Evan You
523f6aa363
chore: use existing method
2022-05-19 14:08:55 +08:00
Evan You
31bdde0480
chore: fix lint
2022-05-19 12:39:48 +08:00