News for hackers. Stuff that matters.
Re:Modern Javascript: Everything you missed over the last 10... by onei on Saturday May 15, 2021 @05:44PM (#27169303)
Perhaps I'm overthinking things and HTML does this naturally, but is there something for rendering that is what Swagger/OpenAPI is to APIs? Some way of specifying HTML that can be both rendered (and read back for inputs) by multiple implementations.
Re:Modern Javascript: Everything you missed over the last 10... by creshal on Sunday May 16, 2021 @03:17AM (#27171865)
In theory, that's what template languages like jinja, liquid and twig are for.

But as you can see, there's n+1 standards for it, and in practice none of them has a Javascript implementation good enough for productive use. So it's more a "what if?" scenario, had Angular/React/Vue not taken off.