LiveView enables rich, real-time user experiences with server-rendered HTML.
So you can write complex realtime webapp without bloating the client side. It responses pre-rendered HTML upon first GET request, then use websocket to patch the DOM for later interactions.
The core library only consist of 441 LOC (excluded types and imports). Plus most logics are shifted on the server side, hence only minimal works is required on the client side.
I made this tool because I was frustrated by the initial load time for an Ionic 4 app, and the deep 'DOM expansion' after the web components got mounted.
So you can write complex realtime webapp without bloating the client side. It responses pre-rendered HTML upon first GET request, then use websocket to patch the DOM for later interactions.
Just like Phoenix LiveView but in Typescript!