Hacker News new | ask | show | jobs
by styfle 3198 days ago
Another small template engine similar to React is ".dom", weighing in at only 500 bytes!

https://news.ycombinator.com/item?id=13605673

It only works in modern browsers supporting Proxy.

1 comments

Looks really cool, other than Object.assign, Proxy and Symbol I think this is quite an achievement for that size, but I am pretty sure it doesn't support keyed DOM updates. Hyperapp was also under 1 KB before we introduced the keyed VDOM.
What is keyed DOM updates? Is that the equivalent of React's `key` property?

https://facebook.github.io/react/docs/lists-and-keys.html#ke...