We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03a8a1f commit 400e163Copy full SHA for 400e163
WhenToUse
@@ -0,0 +1,7 @@
1
+If a sub-part could be solved by a template
2
+```const subPart = html``;```
3
+, don't make a component/shadowDom?
4
+
5
+If a template fires events, wrap it in a component. Especially if it's repeated.
6
7
+There's a "spin-up" cost to registering a component, as well as the boilerplate needed to create it.
0 commit comments