2 ms·
The imperative part is required to build a Web Component. When you merely import it. you can use it as declaratively as any other HTML tag. Basically Web COmpo
by nine_k 3y ago
The imperative part is required to build a Web Component.
When you merely import it. you can use it as declaratively as any other HTML tag. Basically Web COmponents allow you to add your own tags that are rendered as components, and freely mix "built-in" and "custom" DOM nodes in your document.