5 ms·
Have you checked out lithtml?
by mock-possum 2y ago
Have you checked out lithtml?
- jeswin 2y agoYeah. It requires a framework specific plugin in vscode (and other IDEs), since the markup is just text which requires framework-specific interpretation. Ultimately, like everything else it's trade-offs and personal preference.
- esperent 2y agoDo you mean lit html? I've seen it before, it uses template strings for html templating: const myTemplate = (name) => html`<div>Hello ${name}</div>`; Compared to JSX, I don't like it much. I feel that template strings are unergonomic and fiddly to type a lot, although maybe I'd get used to it.
- nchmy 2y agoIt's literally just plain html and JavaScript...