DEV Community

Discussion on: Vue.js developers' guide to React

aarone4 profile image
Aaron Reese

For me, Vue covers most of the common application functions with a clean and simple API. V-for, v-on, v-if, v-model all make complete sense and the resulting html code is easy to read. It insulated new developments from some of the complexity of JavaScript: map and filter, object destructuring, asynchronous code execution. The one I love and hate at the same time is the hijack of this. Hoisting it so that it infers the data and methods object is mad-genious but doesn't help new devs to grasp the context sensitive nature of this and also prevents fat-arrow functions as they can't support the this override.