fix: pass along `anchor` in legacy class wrappers (#14100)

fixes #13832
pull/14105/head
Simon H 4 days ago committed by GitHub
parent a315a14939
commit e7d68d8c10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: pass along `anchor` in legacy class wrappers

@ -110,6 +110,7 @@ class Svelte4Component {
this.#instance = (options.hydrate ? hydrate : mount)(options.component, {
target: options.target,
anchor: options.anchor,
props,
context: options.context,
intro: options.intro ?? false,

Loading…
Cancel
Save