What should a native DOM templating API look like?
SMRTR summary
A proposal suggests adding a declarative JavaScript templating API to the DOM using tagged template literals. This would create HTML-like templates with JavaScript expressions, providing a standardized way to create and update DOM elements without special compilers or new file types. The API would adhere to existing web standards, featuring HTML-like syntax, JavaScript expressions, and efficient DOM updates. It aims to offer developers and frameworks a powerful alternative to custom templating solutions.
SMRTR provides this summary for quick context. The original article belongs to Hacker News.
Read the original article