Vue.js: JavaScript MVVM made simple
vuejs.org
vuejs.org
It became obvious how influenced by Angular it is through the use of its terminology in the source code.
I think it would be a cool idea to take pieces of Angular and try to create a custom framework, although it's probably worth waiting until Angular 2.0 before an effort is made to do that, when Angular becomes more modular.
Design decision wise, it's mostly about simplicity, so no dependency injection, no pre-compiling jsx, no $digest/$apply, no services/factories etc... it's mostly up to you how to structure your app.
It also does not include routing/ajax/REST resource parts and focuses on the interface only. It is designed to be module ecosystem friendly (e.g. Component/Browserify) so you can easily leverage other libraries to fill in the missing pieces.
I'm not entirely sure how that would work Vue.js. I suppose at some point you could have
var parent = new Vue(options); parent.$data = [object,object,object];
var child = new Vue(options); child.$data = parent.$data[i];
seems simple enough, what's your scratch test before trying a new library?
I thought the data-* attributes were the recommended way (https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Usin...).
My only concern with all these new libraries is how long they will be around.
It would be great if I could use this as a library, even more light-weight in terms of API than KO and to extend already existing app.
.done {text-decoration: line-through}
in css part of jsfiddler, it's working as intended now.Edit: Possibly you are being sarcastic....
Remember back when Prototype was the dependency, and jQuery was young?