mirror of https://github.com/sveltejs/svelte
Merge fa226778b0 into 5895c637b0
commit
ada2884d22
@ -0,0 +1,9 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: coerce symbols to empty string in `set_text`
|
||||
|
||||
Under `experimental.async`, `$bindable` props can briefly surface `Symbol(UNINITIALIZED)`.
|
||||
`set_text` treated symbols as already-stringifiable values, then threw when assigning
|
||||
`text.nodeValue = \`${str}\``. Treat symbols like nullish values so text nodes stay stable.
|
||||
Loading…
Reference in new issue