"bad template" but why?
See original GitHub issueHi there
Not sure why i get a “bad template” message on this one:
let content = html`<div>
<caption>
Hurray
</caption>
<div class="fd-table__header">
<tr class=${`someClass`}></tr>
</div>
</div> `;
render(document.getElementById("app"), content);
It’s highly possible i’m doing something stupidly wrong 😃
When removing the root <div>
it will work
https://codesandbox.io/s/compassionate-benji-zn94ke?file=/src/index.js
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Why Are Templates Bad? - Adams on Contract Drafting
But we know what bad drafting is like—I've described it in excruciating detail ... Bad BigLaw M&A contracts likely come from bad templates....
Read more >Mr Mackey Meme Generator - Imgflip
Insanely fast, mobile-friendly meme generator. Make Mr Mackey memes or upload your own images to make custom memes.
Read more >"You Want To" Hypnotist Swirl Meme Template - Kapwing
This template is most well-known for its "You want to shut up // You want to shut up so bad" rendition, but you...
Read more >Templates: The Good, the Bad, and the Ugly - LinkedIn
Over the years, I have realized that templates are not all bad and not all good either. There are good and bad practices...
Read more >We Were Bad, But Now We're Good - Template
See more 'We Were Bad, But Now We're Good' images on Know Your Meme!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok thanks. Makes sense to me now👍 I like how your lib helps me to understand html better 😃
P.S. if you’d like to complain about Safari choice around making certain elements not possible to extend please do as your case has been raised already by everyone in the field.