4 ms·
Vue already seems pretty minimal to me. What advantages does riot have over vue?
by huskyr 10y ago
Vue already seems pretty minimal to me. What advantages does riot have over vue?
- jaequery 10y agoI'd say that if Vue.js is like Rails, then Riot.js is like Sinatra. It's an even more simplified version. For one, Riot doesn't include 2-way binding, which is how I like it, since I like having more control over the DOM of when and how to update it. Also the syntaxes are cleaner and less verbose. I also appreciate it's style of creating and mounting components.
- mixedCase 10y agoVue.js 2 doesn't include 2-way binding. As for syntax, I don't see what you're seeing by looking at the docs. And in Vue you can also create and mount components. EDIT: I realized after posting this comment that 2-way binding has only partially gone away, v-model still works, it was prop syncing that was deprecated.
- rk06 10y agoYeah, but v-model is a good 2-way binding. So it can't be removed