News for hackers. Stuff that matters.
Re:Svelte 5 is not JavaScript by GrumpyCat42 on Tuesday February 18, 2025 @12:44PM (#43092732)
IME a lot of the pain comes from picking the wrong tool for the layer.

By that I mean saying everything has to be a JS framework or everything has to be server-delivered-HTML.

For very dynamic & interactive things maybe it makes sense to write it just in JS without a framework?

For full pages for data-powered applications (that heavily benefit from types & Typescript), maybe it makes sense to use something like Golang on the server.

And then you can embed those interactive dynamic islands inside the data-intensive application, with a thin layer of communication between the two.

Just my 2c - I've found that pattern to be super compelling

Re:Svelte 5 is not JavaScript by DeathArrow on Wednesday February 19, 2025 @03:49AM (#43100034)
I agree but the dominant view is that everything has to be a SPA and having some html delivered by the server is considered bad.