live_svelte icon indicating copy to clipboard operation
live_svelte copied to clipboard

How to treat Forms?

Open cvkmohan opened this issue 9 months ago • 1 comments

@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.

cvkmohan avatar May 04 '24 09:05 cvkmohan

I believe you would pass the data through the live socket instead of doing a post request, right?

t1m0t avatar Jun 04 '24 17:06 t1m0t