Re:Give up GitHub: The time has come
by joshstrange on Thursday June 30, 2022 @12:09PM
(#31934595)
I understand that thinking but it's ignores reality. To do what you want you want means maintaining 2 codebases (even if just for sub-parts of a site). It's really easy to say "This specific page could be static" and you are right, it could, but it would mean having fallbacks for every JS interaction on the page (or removing them if the user has JS disabled). There simply aren't enough people who die on the no-JS hill to care about, especially since it means ongoing development maintenance, testing, design/UI work, and the list goes on.
[ Parent
| on HN ]
Re:Give up GitHub: The time has come
by nyanpasu64 on Thursday June 30, 2022 @01:01PM
(#31935381)
GitLab is built on JS and renders a white screen without JS. Enabling JS at all taxes my Core 2 Duo machine, and opening GitLab to a few thousand line file (or worse yet, opening the pull request diff view) taxes my top-of-the-line Ryzen 5 5600X machine running Firefox. GitLab is just badly written.
Re:Give up GitHub: The time has come
by doodlesdev on Thursday June 30, 2022 @05:46PM
(#31939057)
Or you could server render the pages and hydrate them as needed which is something easy to do with NextJS, NuxtJS, Remix, Fresh, among other modern frameworks for developing with JavaScripts libs.