enhance-dev / enhance-dev/enhance.dev
Docs should speak to the differences between html`` TTLs in other frameworks
Open
docs
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Enhance is not the first framework to construct DOM from an `html` tagged template literal. For example LitHTML also uses a TTL, and so some users may be familiar with using it. The difference between LitHTML and enhance is that [LitHTML requires all the strings that you concat to be `html`.](https://lit.dev/docs/v1/lit-html/writing-templates/#nest-and-compose-templates) Enhance only requires the return value of the function to be tagged. It could eliminate some confusion if this were called out explicitly.
Contributor guide
Assessment
This issue has not been assessed yet.