Remix.run Logo
anon-3988 3 days ago

Why not ditch HTML itself? People are already downloading binary blobs on a daily basis anyway, just download some binary once, execute them in some isolated environment. So you only have to transmit data.

usrbinenv 3 days ago | parent | next [-]

I don't see a problem with HTML. It's easy to learn, easy to use and a very nice format for web. CSS is also great. JavaScript is pretty great too. My point is that modern web is horrible because people with no taste and no understanding of the underlying technologies turned it into a horrible shitshow by inventing frameworks that turn the web upside down and making a bloat out of it. I don't hate many things in life, but this one - with passion, because every time I visit a website, I can just feel it's made with React because of how slow and laggy it is.

graemep 3 days ago | parent | prev | next [-]

Do not know to what extent you are serious, but I think the idea is that content should be HTML and apps should be just JS.

We could go further and have a language written to run in a sandbox VM especially for that with a GUI library designed for the task instead of being derived from a document format.

usrbinenv 3 days ago | parent [-]

Yeah, I think my point was misunderstood: part of what I'm opposed to was writing HTML (or worse, CSS) inside .js files.

graemep 3 days ago | parent [-]

Yes, I think you were misunderstood.

I think HTML inside JS is a code smell. I cannot even imagine why you would need CSS inside JS.

brazukadev 2 days ago | parent [-]

lit-html templating inside JS is a code smell?

WesolyKubeczek 3 days ago | parent | prev [-]

Ehrm, have you seen how fancy UI stuff is being implemented in so-called "native apps" these days? Anything more complicated than a button or label or other elements familiar since 1993 gets shoved into a webview and rendered with HTML and CSS.