3 ms·
I'm curious. When are you searching for `html` and `css` and not using the https://lit.dev https://lit.dev docs, or already reading about them in some way? This
by spankalee 3y ago
I'm curious. When are you searching for `html` and `css` and not using the https://lit.dev https://lit.dev docs, or already reading about them in some way? This is literally the first criticism I'm ever heard of the template tag names.
Did you see a code snippet and want to learn more?
`html` and `css` are just functions we vend. They're important ones, but two among many. The names need to be short and intuitive so that when you see something like:
html`<p>Hello world</p>`
both the developer and tools know what to expect of the string content. Naming them something unique would really harm readability, IMO.