Echo JS 0.11.0

<~>

kbr comments

kbr 2456 days ago. link 2 points
Creator here, I'm working on tests right now :)

Edit: Added basic tests
kbr 2542 days ago. link 1 point
Thank you! Super glad you like it :)
kbr 2542 days ago. link 1 point
Yeah, the docs don't mention a couple things (yet). Check out http://jsbin.com/sosunuvuwi/edit?html,css,js,output for an example on computed properties.

The getters/setters added have an overhead and slow down the startup time of an application. I'm working on a simple plugin that can add them though, along with the array methods :)
kbr 2543 days ago. link 2 points
Glad you might try it out :D

I think you SHOULD care about the sizes of libraries these days. The extra weight can really slow down a page. That 6kb and 25kb difference results in a 21.8ms load time (for the 25kb library), and 8ms for Moon.

This increases with the amount of plugins you add. Moon-router is 1kb, Vue-router is bigger than Moon itself!
kbr 2543 days ago. link 2 points
Let me try to convince you then ;)

* Moon is first of all, blazing fast compared to the competition
* Moon has a built-in:
  * templating engine
  * component system
  * directives
* There are lightweight packages for routing and SSR
* You can have single-file components (just like Vue)
* Moon does this all in about 6kb minified + gzipped
kbr 2543 days ago. link 1 point
Actually, Moon DOES have a dependency tracker, and caches the values of computed properties. Instead of simple getters/setters (which can be added with a plugin), Moon provides simple method with `.get` and `.set`. Along with that, it has all of the core directives, the same component system, the same plugin system. All in 6kb minified+gzipped, with faster performance.
[more]