-
-
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 enginesenhancementNew feature or requestNew feature or request
Description
Describe the bug
This causes an error:
import html from 'solid-js/html'
html`
<div>
<template>
<h1>Example</h1>
</template>
</div>
`
Error:
Uncaught TypeError: Cannot read properties of null (reading 'firstChild')
Your Example Website or App
https://playground.solidjs.com/anonymous/5dd52803-e570-4f6e-a72d-0ef56944996f
Steps to Reproduce the Bug or Issue
see console
Expected behavior
expect to use a <template>
element like normal HTML
Screenshots or Videos
No response
Platform
- OS: macOS
- Browser: Chrome
- Version: 1.8.5
Additional context
No response
Metadata
Metadata
Assignees
Labels
alternative templatingRelated to non-JSX template enginesRelated to non-JSX template enginesenhancementNew feature or requestNew feature or request