mirror of https://github.com/sveltejs/svelte
fix: never use html optimization for mustache tags in hydration mode (#8744)
--------- Co-authored-by: gtmnayan <gtmnayan@gmail.com>pull/8748/head
parent
3878c39126
commit
aa8cc5d26f
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: never use html optimization for mustache tags in hydration mode
|
@ -0,0 +1 @@
|
||||
<h1>Hello client!</h1>
|
@ -0,0 +1 @@
|
||||
<h1 data-svelte-h="svelte-1oz2hyi">Hello world!</h1>
|
@ -0,0 +1,7 @@
|
||||
export default {
|
||||
snapshot(target) {
|
||||
return {
|
||||
h1: target.querySelector('h1')
|
||||
};
|
||||
}
|
||||
};
|
@ -0,0 +1 @@
|
||||
<h1>Hello {'client'}!</h1>
|
Loading…
Reference in new issue