This is not really an impending move, so I haven't even consulted the team yet. There are more React-knowing folks on the team. I have a cursory understanding of Vue, but would have to do more research. As an outsider, I haven't had an aha moment with Vue but from what I can see, we don't really need router/state management things. We don't do any client-side routing and what I really want is the ability to make small apps-within-the-app that are pretty self-contained.
Okay cool. Feel free to give it some thought and let me know based on what our constraints are. My gut is that it's not really meant for our type of app.
I think VueJS works great for either SPA or small features within a HTML page. You don't even need to have a complicated WebPack setup. You can import the library and start coding with no-configuration, and in ES5. You can progressively replace the vanilla js with VueJs components.
While I prefer Vue, if your team will have the easiest time moving to Preact, then that counts for something.
Personally, the pace at which Vue is improving, and the official libraries like Vue Router, Vuex, makes Vue all the more attractive.
But again, all things being equal, sometimes the best tool is the one you know the best.
This is not really an impending move, so I haven't even consulted the team yet. There are more React-knowing folks on the team. I have a cursory understanding of Vue, but would have to do more research. As an outsider, I haven't had an aha moment with Vue but from what I can see, we don't really need router/state management things. We don't do any client-side routing and what I really want is the ability to make small apps-within-the-app that are pretty self-contained.
@pandyzhao you've used Vue, right?
I've worked with Vue, and it's awesome. I've never worked with react though.
However, since you mentioned the
3kb
file-size and the fact that your team knows react, +1 for Preact πVue is very self contained. It aims to be very easy to adopt in increments.
Laracasts offers a free series on Vue, and from a quick watch, you'll see how easy it is to get it working in small chunks.
And if you'll forgive the self-promotion, I have a few tutorials on Medium with some CodePens you can look at.
medium.com/vue-by-example
I haven't actually used Vue; my coding bootcamp recently switched to Vue, but I finished being a TA before that happened.
Most of my framework experience is with Angular 1 and 2, but I'm indifferent to it. Happy to try out Vue.
Okay cool. Feel free to give it some thought and let me know based on what our constraints are. My gut is that it's not really meant for our type of app.
I think VueJS works great for either SPA or small features within a HTML page. You don't even need to have a complicated WebPack setup. You can import the library and start coding with no-configuration, and in ES5. You can progressively replace the vanilla js with VueJs components.
The same is true of preact. One line of JS pulls it in from pika