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 Legend of Bhagat Singh . The Legend of Bhagat Singh is an Indian historical biographical film directed by Rajkumar Santoshi and release...
-
Amazon's cloud computing business has been a big hit, but faces some big challenges as its boss explains. from BBC News - Technology h...
-
mugwump , n : (chiefly humorous) A (male) leader; an important (male) person. (politics) (historical) A member of the Republican Party wh...
No comments:
Post a Comment