Show HN: BDC – Ergonomic, sub 1KiB virtual DOM library
4 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.
Subscribe to:
Post Comments (Atom)
Florida School Restricts Access to Amanda Gorman’s Inauguration Poem
By BY AMANDA HOLPUCH from NYT U.S. https://ift.tt/fIlhCeE
-
The choice has raised eyebrows because of the controversial nature of some of Mr Musk's tweets. from BBC News - Technology https://bbc...
-
By BY MAGGIE ASTOR AND NICK CORASANITI from NYT U.S. https://ift.tt/35D0FNL
-
Wuhan lab staff sought hospital care before Covid-19 outbreak disclosed 39 by pseudolus | 10 comments on Hacker News.
No comments:
Post a Comment