News for hackers. Stuff that matters.
Re:Show HN: Moon – a tiny 6kb Javascript library inspired by... by elnygren on Saturday May 20, 2017 @12:09PM (#14383026)
I had a very quick glance but it seems that RE:DOM is smaller, better documented and more mature (but probably otherwise similar). https://redom.js.org
Re:Show HN: Moon – a tiny 6kb Javascript library inspired by... by kbr on Saturday May 20, 2017 @12:31PM (#14383117)
Yes, but Moon's goal is to have syntax similar to Vue's, and as a result, requires an HTML template compiler, Javascript expression compiler, directive compiler, and different component logic.

RE:DOM doesn't have any of these, but only has a virtual DOM engine (which Moon has as well).

Re:Show HN: Moon – a tiny 6kb Javascript library inspired by... by shakna on Saturday May 20, 2017 @12:16PM (#14383060)
Moon's benefit, that I can see, is Vue's syntax.
Re:Show HN: Moon – a tiny 6kb Javascript library inspired by... by tenryuu on Saturday May 20, 2017 @09:16PM (#14385257)
with the difference between sizes being a few kb, I don't think that they would entirely matter. What really does is execution rate. Which one performs more efficiently. If the end result is DOM, it doesn't matter what syntax you're using, the client is the most important part
Re:Show HN: Moon – a tiny 6kb Javascript library inspired by... by sylentmode on Saturday May 20, 2017 @12:24PM (#14383093)
I honestly don't see much similarity