4 ms·
I 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 un
by Jcampuzano2 5y ago
I 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.