Echo JS 0.11.0



kbr 712 days ago. link 1 point
The goal is to have a similar API to Vue, but it is almost half the size and is faster in benchmarks.
sylvainpv 712 days ago. link 1 point
Yet it misses the best part of Vue, which is magical dependency tracker and getter/setter converter.
kbr 712 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.
sylvainpv 711 days ago. link 1 point
There is no mention of computed properties in the docs, should we use getter for that ? It seems to work:,css,js,output

I really like getters/setters or proxy interfaces for data  handling, it has several benefits regarding autocompletion, type checking and the handling of specific mutations like array splice. This is what sold me with Vue in the first place
kbr 711 days ago. link 1 point
Yeah, the docs don't mention a couple things (yet). Check out,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 :)