woutdp / live_svelte

Svelte inside Phoenix LiveView with seamless end-to-end reactivity
https://hexdocs.pm/live_svelte
MIT License
1.02k stars 38 forks source link

Shorter way of defining a live_component #6

Closed woutdp closed 1 year ago

woutdp commented 1 year ago

I think it's a bit cumbersome atm.

Ideally I can just call a function.

Also the id is something I'd like to avoid to provide if it's possible.

Would be nice to keep slots, if we can make that work

woutdp commented 1 year ago

https://github.com/fidr/phoenix_live_react

woutdp commented 1 year ago

We're not using live_component anymore and it's a lot cleaner now