Show HN: BDC – Ergonomic, sub 1KiB virtual DOM library - Klaput News

Show HN: BDC – Ergonomic, sub 1KiB virtual DOM library
2 by bwhmather | 0 comments on Hacker News.
BDC is a simple library for updating the DOM to match a javascript description. Does not require JSX or a compilation step. clobber( document.body, h("marquee", [ h("span", {"style": "font-weight: bold"}, "Hello"), ", ", h("blink", "world"), "!", ]), ); Very fast to first render, moderately slow on subsequent updates. Prompted by the post on millionjs, which compiles user code to hit the same outrageously small size target.

RELATED POST :
Memuat...

Comments

Popular posts from this blog

Show HN: Modifying Clang for a Safer, More Explicit C++ - Klaput News

Show HN: A tool to design and run user state machines - Klaput News