Get the latest tech news
Show HN: Mizu.js – Lightweight HTML templating library for any-side rendering
mizu.js is a TypeScript/JavaScript library designed to provide a simple and efficient way to create dynamic web pages without the need for a complex framework.
These methods also provide helpful tools to simplify the creation of custom directives. It should be used to set up dependencies, instantiate directive-specific caches (via Renderer.cache()), and perform other initialization tasks. This method is executed regardless of the directive's presence on the node, and regardless of whether a Directive.execute() returned with final: true.
Or read this on Hacker News