We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e5e976 commit 6281628Copy full SHA for 6281628
packages/@glimmer/runtime/lib/vm/element-builder.ts
@@ -256,7 +256,8 @@ export class NewElementBuilder implements ElementBuilder {
256
257
private pushModifiers(modifiers: Nullable<ModifierInstance[]>): void {
258
this.modifierStack.push(modifiers);
259
- if (modifiers && this.env.debugRenderTree) {
+ if (this.env.debugRenderTree) {
260
+ modifiers = modifiers || []
261
const htmlState = {};
262
this.htmlElementsState.push(htmlState);
263
const shouldAddHtmlElement = modifiers.length || globalThis.ENV_DEBUG_RENDER_TREE_ALL_ELEMENTS
0 commit comments