Remix.run Logo
graemep 3 days ago

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?