woutdp / live_svelte

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

Add socket prop to skip ssr for live mounts and navigation #74

Closed vonagam closed 10 months ago

vonagam commented 10 months ago

Closes #73.

Added socket prop and updated views in example project to use it. Sigil uses it automatically.

Removed get_ssr util method.

In generated live components class was not removed from props and svelte_opts were even though they are not used there. Fixed.

woutdp commented 10 months ago

Available in 0.12.0