live_svelte
live_svelte copied to clipboard
How to treat Forms?
@woutdp - One request. Can you showcase one example of how to deal with Forms ? I mean typical Form handling in LiveView is well-defined and there are ample resources. Assuming, I want to have a form in Svelte - maybe using https://github.com/svecosystem/formsnap - how does the communication happen both ways. That gives us access to the rich Svelte UI libraries, Shadcn etc.
I believe you would pass the data through the live socket instead of doing a post request, right?