mirror of https://github.com/sveltejs/svelte
parent
92d2b1f1e3
commit
373ca3faef
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
let { value } = $props()
|
||||||
|
|
||||||
|
const text = $derived(value.toString())
|
||||||
|
|
||||||
|
$effect(() => console.log(text))
|
||||||
|
</script>
|
Loading…
Reference in new issue