Comment on Ask HN: Changing my mind about JavaScriptparentComments−gushogg-blake2yHow would you not build the whole frontend in JS though? Use another compile-to-JS language?−kevsim2yRender most of the frontend server-side and just use JavaScript for the dynamic bits only, I guess? I personally haven't done it like this since the advent of SPAs, but I'm guessing lots of things are still built like this.−timw4mail2yIt *should* still be the default.−7275647970697062yI urge you to check out https://hypermedia.systems/ (free to read online).TL;DR: The web platform has evolved (and continues to evolve) so much that I don't see a need to use SPAs for the majority of web applications.
Comments
How would you not build the whole frontend in JS though? Use another compile-to-JS language?
Render most of the frontend server-side and just use JavaScript for the dynamic bits only, I guess? I personally haven't done it like this since the advent of SPAs, but I'm guessing lots of things are still built like this.
It *should* still be the default.
I urge you to check out https://hypermedia.systems/ (free to read online).
TL;DR: The web platform has evolved (and continues to evolve) so much that I don't see a need to use SPAs for the majority of web applications.