This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| web_component [2024/09/04 16:33] admin | web_component [2024/10/09 22:52] (current) admin | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| 1. "hello world" example of lit. https://lit.dev/playground/ | 1. "hello world" example of lit. https://lit.dev/playground/ | ||
| 2. Web component vs React. https://blog.jim-nielsen.com/2023/html-web-components-an-example/ | 2. Web component vs React. https://blog.jim-nielsen.com/2023/html-web-components-an-example/ | ||
| + | 3. <template> tag: The <template> HTML element serves as a mechanism for holding HTML fragments, which can either be used later via JavaScript or generated immediately into shadow DOM. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template | ||