-
-
Notifications
You must be signed in to change notification settings - Fork 985
Open
Labels
alternative templatingRelated to non-JSX template enginesRelated to non-JSX template engines
Description
Describe the bug
A template with <Show>
, f.e.
html`
<${Show} when=${() => true}>
<p>asd</p>
</${Show}>
`
renders the following DOM (the below is what you see on the screen):
function () { [native code] },>
Your Example Website or App
https://playground.solidjs.com/anonymous/b46ba5d0-593a-4762-9eb1-91b4e1903e58
Steps to Reproduce the Bug or Issue
- See playground
- see visual output
Expected behavior
It should handle the Show
component
Screenshots or Videos

Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response
Workaround
Switch to a ternary expression for now
Metadata
Metadata
Assignees
Labels
alternative templatingRelated to non-JSX template enginesRelated to non-JSX template engines