News for hackers. Stuff that matters.
Re:An SPA Alternative by Starlevel001 on Tuesday July 19, 2022 @04:54PM (#32157833)
Web devs have zero right to run their javascript disasters on my computer. Htmx outsources 99% of the rendering and logic to the server, where it can use up their valuable time.
Re:An SPA Alternative by tshaddox on Tuesday July 19, 2022 @05:50PM (#32158442)
Can you further explain your principles around the web? I'm curious to hear more. For instance, it sounds like you don't think web sites ought to be able to distribute JavaScript which executes on your computer in order to generate a user interface, but it seems you do think web devs have the right to utilize your internet bandwidth to download markup from a server in order to generate a user interface. Is that the case, and if so, why do you make that distinction?
Re:An SPA Alternative by Starlevel001 on Tuesday July 19, 2022 @06:39PM (#32158921)
Theoretically my local computer is faster to render something than my network connection can download the pre-rendered content.

However, 99% of javascript blobs of hatred end up slower than downloading the pre-rendered content.

Re:An SPA Alternative by zakki on Tuesday July 19, 2022 @06:20PM (#32158742)
Maybe GP wants to access the information and not the unnecessary local processing?

Edit: wording

Re:An SPA Alternative by ng12 on Tuesday July 19, 2022 @05:05PM (#32157963)
Why stop there? They should get their own end users as well.
Re:An SPA Alternative by n0us on Tuesday July 19, 2022 @05:14PM (#32158076)
If you hate it so much just turn off JavaScript and enjoy waiting for the page to reload every time you click on anything
Re:An SPA Alternative by andybak on Tuesday July 19, 2022 @06:38PM (#32158909)
Which is often faster than the response time of a client side app.
Re:An SPA Alternative by DangitBobby on Tuesday July 19, 2022 @09:24PM (#32160177)
Great! Enjoy it!