DEV Community

Discussion on: Understanding Server Side Rendering

 
devhammed profile image
Hammed Oyedele

Same with Gatsby.

Thread Thread
 
beenotung profile image
Beeno Tung

If you want to go futher, checkout LiveView, it returns complete layout in html/css on the initial get request, then use websocket to push user interaction to the server.
The server maintain the virtual dom, and send the diff patch to the client for partial update.

This way the client don't need to download heavy javascript bundles. It has two implementations so far, in typescript and elixir