A Quick Look at Vue.js

As any engineering or tech lead can attest, choosing a JavaScript framework can be a daunting task. You may be tempted to adopt well-established frameworks developed in-house such as Google’s Angular and Facebook’s React, but it may behoove you to evaluate other frameworks in the marketplace. Depending on the size and complexity of your project, Angular or React might not be the correct tool for the job. In order to help our customers make well-informed decisions, we at Digital Foundry are constantly evaluating new technologies. One of the frameworks that we’ve seen gain momentum and establish itself in the developer community is Vue.js.

Vue.js is an open-source JavaScript framework that uses an MIT License. Creator Evan You describes Vue.js as “The progressive JavaScript framework” that is approachable, versatile, and provides advanced features such as reactivity, reusable components, and animations. Steadily gaining popularity since its 2014 release, Vue.js is (as of July 19, 2017) the ninth most starred project on GitHub of all time. Recently, a number of companies have started adopting Vue.js including GitLab and Alibaba.

“The core library is focused on the view layer only, and is very easy to pick up and integrate with other libraries or existing projects. On the other hand, Vue is also perfectly capable of powering sophisticated Single-Page Applications when used in combination with modern tooling and supporting libraries.” – VueJS Introduction Docs

Why we like it

Our engineers at Digital Foundry have identified a number of advantages to utilizing the Vue.js framework.

  1. First, it is a lightweight and high-performance tool. Vue.js was created with a minimal core, but can become progressively more powerful as project complexity increases.
  2. Next, it is approachable and maintainable. While other frameworks can have a steep learning curve, Vue.js is designed to allow users with a fundamental understanding of HTML, JS and CSS to pick it up quickly.
  3. Finally, Vue.js is a progressively adaptable, modular framework.

A major advantage, which was pointed out by GitLab, is the ability to solve complex problems with less code. There is only one global object state, so you can simply pass around different issues and the whole DOM updates without having to worry about anything. Vue also has comprehensive documentation and an active community of users who are passionate about the framework. The community support is not as large as Angular or React, but given the growth on the GitHub community, it may not be long before they are on par with each other.

With that said…

A few drawbacks that we have observed are that Vue.js is built only as a view library, it doesn’t have the service layer of Angular, and it relies on third-party library support.

Despite these drawbacks, Vue.js is a great lightweight tool that is not as opinionated or complex as other frameworks.

Share your thoughts with us!

Within our own system architecture planning or full stack software implementations we conduct the due diligence on tools to ensure success down the line. Next time you’re looking for a JavaScript framework, give Vue.js a look! And if you need help planning or developing your next enterprise digital project, please contact us.

Like or share this post: