We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3542b3c commit c28eca6Copy full SHA for c28eca6
packages/components/src/components/hds/layout/flex/index.hbs
@@ -2,6 +2,10 @@
2
Copyright (c) HashiCorp, Inc.
3
SPDX-License-Identifier: MPL-2.0
4
}}
5
+{{!
6
+ Dynamically generating an HTML tag in Ember creates a dynamic component class (with the corresponding tagName), while rendering
7
+ a plain HTML elements requires less computing cycles for Ember (you will notice it doesn't add the `ember-view` class to it).
8
+}}
9
{{#if (eq this.componentTag "div")}}
10
<div class={{this.classNames}} ...attributes>{{yield (hash Item=(component "hds/layout/flex/item"))}}</div>
11
{{else}}
0 commit comments