5 ms·
Not really, Liveview uses websockets and Livewire uses http. So there is quite a big underlying difference
by ecmascript 5y ago
Not really, Liveview uses websockets and Livewire uses http. So there is quite a big underlying difference
- montblanc 5y agoNot sure what the OP is asking - if he's asking what kind of API or abilities they give you I would say pretty much equivalent things. If he's asking what the underlying architecture is then I yes they're different.
- mcintyre1994 5y agoThe server-side process in LiveView does enable some things that I don't think this does, like multiplayer games, collaborative apps and anything where you can have data/events made available to the client that doesn't originate from that client. One of the nice things with LiveView IMO is that it makes all of that work in the same programming model as the client sending things to the server and getting responses. It doesn't matter if the event originated from the client, some other client or eg. Phoenix Pub/Sub, it all looks and works the same.