Comment

Comment by cultofmetatron

> Every UI update therefore requires a full roundtrip request to the server,

while this is certainly the easiest path, you don't HAVE to put all your ui states on the server. its trivially easy to plugin alpinejs for small ui state stuff that is all client side.

Another huge benefit, the js escape hatch lets you create a bidirectional bridge between your custom js and your user's liveview instance.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton