@arcmantle/adapter-element
    Preparing search index...

    Variable nothingConst

    nothing: unique symbol

    A sentinel value that signals a ChildPart to fully clear its content.

    const button = html`${
    user.isAdmin
    ? html`<button>DELETE</button>`
    : nothing
    }`;

    Prefer using nothing over other falsy values as it provides a consistent behavior between various expression binding contexts.

    In child expressions, undefined, null, '', and nothing all behave the same and render no nodes. In attribute expressions, nothing removes the attribute, while undefined and null will render an empty string. In property expressions nothing becomes undefined.