svelte-form
svelte-form copied to clipboard
Runaway reactivity
Wonderful project!
I noticed a strange issue. On each keystroke, helpers.getComponent
fires: twice for each input. So if a form has 20 items, it fires 40 times on every key stroke.
https://github.com/pyoner/svelte-form/blob/master/packages/lib/src/helpers.ts#L140
This has performance impacts and could cause unexpected bugs. This seems to be occurring due to the nested bind:value
s. I tried to resolve this issue, but didn't achieve much.
I'd appreciate if this can be looked into!