LiveView Is Best with Svelte
blog.sequin.io
LiveView Is Best with Svelte
1–10 of 158 posts
Re: LiveView Is Best with Svelte
#2Re: LiveView Is Best with Svelte
#3Re: LiveView Is Best with Svelte
#4Re: LiveView Is Best with Svelte
#5Re: LiveView Is Best with Svelte
#6As the article points out there are some good use cases for deviating from the 'LiveView Way'. I would argue that if you have 1,000ms round trips then there is something else to consider but geographically located servers could be unavailable to your team for a number of reasons (i.e. cost) so adding some client-side state management could be your solution.
Re: LiveView Is Best with Svelte
#7Great project! Superb timing here. Just released our Svelte Radio episode about this: https://www.svelteradio.com/episodes/phoenix-liveview-and-sv...
Re: LiveView Is Best with Svelte
#8So, are all client interactions sent through the websocket? I remember years/decades ago we used to do that with ASP.NET, where every single component interaction was handled by the server. How is this different / better?
Re: LiveView Is Best with Svelte
#9So instead of managing state on the client, you manage state on the client and the server? That doesn't seem like an improvement, even if it saves you from having to build yet another API.
Another thing I like about this is the ability to be able to use Svelte as a templating language rather than Heex.
Re: LiveView Is Best with Svelte
#10I didn’t know about LiveView and never used erlang-family languages, but definitely they’re onto something. The traditional request-response model is many times causing a lot of subtle problems with consistency and staleness.
A wishful (probably also controversial) thought: if the last decade was about integrating FP concepts into mainstream languages, then I hope the next decade will be oriented around integrating stateful message-oriented (reactive?) programming into the mainstream full stack.