mirror of https://github.com/sveltejs/svelte
fix: properly update `svelte:component` props when there are spread props (#10604)
fixes #10602pull/10607/head
parent
314c3d4af9
commit
055e7a8739
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: properly update `svelte:component` props when there are spread props
|
@ -1,5 +1,9 @@
|
||||
<script>
|
||||
export let value;
|
||||
export let foo;
|
||||
export let cb;
|
||||
</script>
|
||||
|
||||
<p>value(1) = {value}</p>
|
||||
<p>foo={foo}</p>
|
||||
<p>typeof cb={typeof cb}</p>
|
||||
|
@ -1,5 +1,9 @@
|
||||
<script>
|
||||
export let value;
|
||||
export let foo;
|
||||
export let cb;
|
||||
</script>
|
||||
|
||||
<p>value(2) = {value}</p>
|
||||
<p>foo={foo}</p>
|
||||
<p>typeof cb={typeof cb}</p>
|
||||
|
Loading…
Reference in new issue