3 ms·
For many sites transferring HTML works fine. I'm surpirsed that MDN would be implemented with client-side-rendering. On the other hand I've had the pleasure of
by lolc 7y ago
For many sites transferring HTML works fine. I'm surpirsed that MDN would be implemented with client-side-rendering.
On the other hand I've had the pleasure of working with both Meteor and Elm thae last few years. It was the first time I had fun implementing client-side code. The resulting apps cannot be reproduced with HTML generated on the server. Often page switches in those apps don't take a round-trip to the server because the data is already loaded and can be rendered right away. Meteor also does incremental rendering by design. So the parts of the data you already have client-side are displayed right away while the rest is being loaded.
It is more work to get it right because you have to reproduce functionality the browser would do for you. But often you just don't want to do a full page load and then fetching and patching the right HTML snippets to update parts of the site gets messy real quick.