3 ms·
How does live view have anything to do with network connectivity? If you need a live server to provide you with updates what difference does it make whether it
by delta1 7y ago
How does live view have anything to do with network connectivity?
If you need a live server to provide you with updates what difference does it make whether it's live view or some other json/websocket setup?
- olah_1 7y agoLiveView makes basic functionality of websites only work if you have a constant, high quality connection to the server. Even things like UI changes require the server connection.
- elcritch 7y agoHave you actually tried it on a cellphone though? LiveView works decently enough for me over my cell phone connection even when using a vpn. I wouldn’t want say a todo app made using LiveView, but for dashboards and other sites which require server data anyways it does fine. Oddly I find LiveView can even feel subjectively faster than an SPA making a discrete request and then rendering the result.
- olah_1 7y ago"but for dashboards and other sites which require server data anyways it does fine." I understand that apps require data anyway, but I find offline-first design to be much more compelling for most apps. Things shouldn't halt or break if your connection goes out or is spotty. Maybe I'm wrong and the future will be everyone cooking in a giant microwave of internet waves :)