-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
NEEDS DOCSThe issue represents a lack of documentationThe issue represents a lack of documentation
Description
Describe the bug
When passing a boolean or number, I am seeing the variable type in the rendered output, i.e.
1__number
false__boolean
Steps To Reproduce
See https://jsfiddle.net/fev3zko2/
with the following code:
<my-component></my-component>import Tonic from 'https://cdn.jsdelivr.net/npm/@socketsupply/[email protected]/+esm'
const numberValue = 1;
const booleanValue = true;
const stringValue = 'lorem ipsum';
class MyComponent extends Tonic {
render() {
return this.html`<ul>
<li>Number ${numberValue}</li>
<li>Boolean ${booleanValue}</li>
<li>String ${stringValue}</li>
</ul>`;
}
}
Tonic.add(MyComponent);This seems to happen in every browser that I tested with.
Metadata
Metadata
Assignees
Labels
NEEDS DOCSThe issue represents a lack of documentationThe issue represents a lack of documentation