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.
I am using "htm" with "preact" binding
When I'm using code like the following
render(html` <div id=${false && 'id-1'} /> <span id=${false && 'id-2'} /> <svg id=${false && 'id-3'}></svg> <svg id=${true && 'id-4'}></svg> `, document.body)
"htm" handles the ids differently:
<div/>
<span/>
id
"false"
<svg/>
id-4
Is that the expected behaviour? I've also tested other attributes, always with the same result...