EzioAuditore.SH

Results 7 comments of EzioAuditore.SH

> I'm assuming you're using SSR when you see the error, hence why it's fine in the REPL. I'm not using SSR and what I'm trying to achieve works perfectly...

You are right and I can't seem to recreate it properly. Just like you said it will run fine if it's only on the client.

> There is actually a PR open at the moment to fix this: #10302 OMG. Thanks, for letting me know about it. I made this issue (#10007) for the same...

@trueadm Here's another example of a problem I think has to do with the same thing and it's weird. Lets say we have the following component. Test.svelte ```svelte import {...

but aren't props like open or about primitives? shouldn't it run when the value changes? there is no mention of the parent object inside the $effect. still, it shouldn't cause...

> I still don't get benefits of `let {...} = $destructurable(createCounter())` over `let {...} = $derived(createCounter())`. $derived reruns the entire function again. there are many situations in which you don't...

Wow. Really nice. especially the second solution which only requires one line of code. Thanks. with this answer, and also being able to use $derived on the output and then...