3 ms·
The only client-side rendered webapp I enjoy using is GitHub’s and that’s because it’s indistinguishable from a regular server-side website (until a page fails
by ComputerGuru 5y ago
The only client-side rendered webapp I enjoy using is GitHub’s and that’s because it’s indistinguishable from a regular server-side website (until a page fails to load or takes forever to load, but I’ll give them a pass on that).
- Jcampuzano2 5y agoI might be wrong or misunderstanding your description, but I don't think Github's webapp is client side rendered. They use rails extensively as far as I know unless things have changed, and add additional enhancements on the client side using plain JS. Certain things are loaded on the client, but for example when viewing a repo it's server rendered. Whereas on the home page, the app shell is loaded on the server, but the feed is fetched on the client. But all navigation is not done on the client.
- noisem4ker 5y agoContent is rendered server-side, but navigation is done client-side. It's not the browser which loads pages, instead it's a script that loads the page content through AJAX, updates the current view with it, and pushes a new state to the history API. I think the exact library they use is Pjax. And yes, it inevitably collides with native navigation in that going backwards sometimes brings up stale page states, forcing you to refresh.
- gherkinnn 5y agoHave to disagree. State is constantly out of sync and I hate when popup menus have to first fetch their content and show you a spinner instead.
- Nextgrid 5y agoThis is the reason why I always hit refresh as soon as the URL bar updates. A full page load of the next destination is often faster than their shitty client-side navigation. Now that I think of it, I can't think of any website where client-side navigation is actually an improvement.