✅ Dark side
Hi, sooooo. Im building some web APIs, but when it comes to rendering data in html from js, its a bit annoying, like creating and appending all of these things, etc. So, I need some HTML builder, but very simple. Ive heard something about Mustache.js, or maybe there is something more relevant in 2023? And definitely not something like react.
6 Replies
like this -
Nowadays you'd usually use frontend framworks like React,Vue,Svelte
even if im not interested in front end in just need to build some super simple learning task?
Well, it would be a pain in the ass to manually create the DOM in js without a frontend framework
ok, which is easyest then?
You can use LitHtml
https://github.com/lit/lit/tree/main/packages/lit-html
Or even the whole Lit framework