You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a strange use case where some nested components also have their own <form> with their own validation & submission, and noticed that the child components appear to also update the data store of the parent component.
This is a very annoying issue when building more complex views which are highly composable. It reduces the dev UX a lot and forces you to be careful or to find other ways to compose views through Portals which feels very hacky.
Describe the bug
I have a strange use case where some nested components also have their own
<form>
with their own validation & submission, and noticed that the child components appear to also update the data store of the parent component.Which package/s are you using?
felte (Svelte), @felte/validator-zod
Environment
To reproduce
App.svelte
Child.svelte
Small reproduction example
https://stackblitz.com/edit/vitejs-vite-kfgcfh?file=src%2FApp.svelte
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: