News for hackers. Stuff that matters.
Re:LiveView Is Best with Svelte by logicallee on Wednesday April 03, 2024 @11:45AM (#39918969)
How usable are LiveView pages while offline? (Due to intermittent lack of network connectivity.)
Re:LiveView Is Best with Svelte by realusername on Wednesday April 03, 2024 @12:30PM (#39919503)
It's the same as any other web page, it doesn't work when you receive or send data from the server.

Liveview isn't that special, the liveview paradigm works best for what would already be online actions in a normal page.

Re:LiveView Is Best with Svelte by victorbjorklund on Wednesday April 03, 2024 @11:47AM (#39918987)
Liveview does not work at all while offline. If you just experience a short temporary drop it can reconnect you automatically.
Re:LiveView Is Best with Svelte by POiNTx on Wednesday April 03, 2024 @11:56AM (#39919087)
Out of the box, they don't work offline. But there's recently been a project showing it's possible to create a PWA with CRDT's and LiveSvelte:

https://github.com/tonydangblog/liveview-svelte-pwa