Skip to content

No fine-grained reactivity #490

Open
@henrykrinkle01

Description

@henrykrinkle01

Description
Currently I'm using superforms with Svelte 5 just fine. However, when I use $effect or some reactive code on a field input value, it will trigger on every other field updates. I guess because for Svelte 4 reactivity to work, the whole form store must be reassigned. Svelte 5 reactivity is fine grained so it doesn't trigger unnecessary reactions, so this is kind of unexpected when using Svelte 5. Honestly I don't think this is a bug because it's just the way Svelte 4 works. I also don't think this can be easily fixed without migrating the library from using stores to runes. However, @ciscoheat told me to open an issue so here I am.

If applicable, a MRE
https://www.sveltelab.dev/fxpfuy1f7nhvp8t

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationsvelte-5Related to Svelte 5

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions