Echo JS 0.11.0

kbr 460 days ago. link parent 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 460 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 459 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 :)