José Pablo Ramírez Vargas

Results 142 comments of José Pablo Ramírez Vargas

If you're looking for a Svelte v5 native, since none of the v4 seems to be willing to upgrade: [@wjfe/n-savant](https://github.com/WJSoftware/wjfe-n-savant)

Unsure what you want to happen. Do you want arr2 to behave the same as arr1? If yes, your code needs to use $state() for arr2 as well. ```svelte let...

Ah, I think I see what confuses you. Assigning a stateful value to a variable doesn't carry the same effect. You see, runes tend to fool us by looking exactly...

> Yes, it doesn't know, but the spreading should be considered potentially reactive, like reading a prop `{foo.bar}`. Props are reactive by definition, as I understand things, so I don't...

This mere spectator's opinion is that it would be **amazing** if one could obtain the list of signals an effect depends on. It would make debugging next level easier.

Hello, @Rich-Harris . I see that you weren't too convinced with the use cases provided so far, so here's mine: #14830. I need, from an exported function from a .svelte...

I believe this changed. $state fields in classes can be directly accessed without issues. The delicate one is $derived's, which must be obtained via a function (maybe a getter works,...

This problem seems to affect components that receive optional snippets (perhaps the "optional" part is not required for reproduction): ```svelte import Other from './Other.svelte'; // This one contains the label...

Hello. I did not need anything else but what's in here to reproduce, but that was 3 months ago, and many updates to tooling have been rolled out. I'll verify...

@paoloricciuti I am currently unable to reproduce my sample myself, even with the back-then dependency versions. I think this may have been a tooling issue that is no longer present....