I recently was refactpromg a toolbar in a dashboard view I had been using for a while. The dashboard was pretty complicated and could be considered a single page application. Angular was perfect for me when I started. I got data-binding, templating, filters and some directives that made my life easy. I became a fan of Angular, and really still remain one. However, the dashboard started becoming more and more complicated and I decided to move some tools into their own partial views. Sounds normal to this point. The tools I am talking about would work best when I include them in my razor view as a @Html.RenderAction (did I mention I don’t always do things the “angular way”?). After playing around with this tool I felt like angular was just not allowing me the freedom I needed. Enter Vuejs. I started using vuejs in a couple of test examples and trying to learn the basics. Here is what I found.
Things I really liked so far
- As I started using vuejs it was very familiar because it similar in lots of ways to angular.
- The things that are different really make sense and not distracting in the least and are often better. I think hindsight is helpful in this case.
- I noticed that I can make a view (think partial view) that I can use without regards to what kind of things it container is using. Self contained and works independently.
- I realized how much I like using a framework that doesn’t dictate what my server has to do.
- Now I really cannot judge vuejs until I get it in a real project and face real world problems but from what I have been able to see I am very excited.
Things I am concerned about
- If you look at vuejs’ github repository, you will notice almost all commits are from the project’s creator, Evan You. He seems like a great programmer and does great work, but if he hits his head on someting or loses interest, the project could be in trouble.
- Angular has Google and Microsoft, react has Facebook, MySQL has Oracle, etc. I would feel a lot better if some tech big dogs were supporting the project with paid employees actively contributing to the project. Update: I found this link explaining why Github is using Vuejs now.
- Look at the pull requests on Knockoutjs, it looks like the project isn’t cool anymore and people aren’t supporting it anymore. I hate trendy project because it sometimes means they go out of style and people abandon it.
I think I will be posting more about VueJS as I use it. You can bet I will be posting examples if for no other reason but for me to remember how I did something. After all that is the reason I started this blog in the first place.