re: Why the React community is missing the point about Web Components VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I wonder if people actually know what tagged literals are in JS. Hint: html`string` is nothing more than a single function call with, you ...

You all realize that JavaScript is just a string in a file without an engine to parse, compile, and execute it, right?

Well, it's a drop more complicated than that. Tagged template literals know about their static and dynamic parts. And lit-html uses template tags and weakmaps for fast parsing and efficient storage.

Im fine with it being string blobs, string parsing is much faster than html parsing.

code of conduct - report abuse