vuejs-introduccion

What is Vue.js and why use it?

  • 3 min

We start a course on Vue.js, a JavaScript framework for web application development, building user interfaces (UI), and single-page applications (SPA).

It was created by Evan You in 2014. While working at Google, Evan You used AngularJS to develop user interfaces. However, he found it too complex for certain cases.

So he took inspiration from AngularJS (especially in the components and databinding part) and also from React (in the reactive approach and the virtual DOM) to design a framework that was simpler and more flexible.

That inspiration led to the birth of Vue.js in 2014 🌄. Since then, it has gained enormous popularity due to its simplicity, flexibility, and performance.

At first, Vue.js struggled to gain a high degree of adoption, mainly due to not having the backing of a large company behind it.

Gradually, Vue.js has become one of the top frontend frameworks of the moment, on par with and as popular as the biggest ones like React or Angular.

And since it is one of my favorite frameworks, … a course is coming up 😀

Why use Vue.js?

Vue.js has positioned itself as one of the most popular options for frontend development for several key reasons:

For me, the main one is its reactivity system. That is, the way it updates the user interface when we make changes to the data.

One of the reasons why Vue.js’s reactivity is so powerful is because it is based on the mutability of objects. This avoids many of the “peculiarities” of other frameworks (cough, cough … React… cough).

But there are more reasons for the popularity of Vue.js. Here we talk about some of them 👇.

Vue.js has a gentle learning curve, especially for developers who are already familiar with HTML, CSS, and JavaScript.

Like almost all modern frameworks, Vue.js is component-based, allowing the application to be broken down into reusable and maintainable parts.

Finally, it uses a simple template system. It combines HTML with special directives, styles, and scripts, all in the same file.

Vue.js is a progressive framework, which means that you don’t need to adopt the entire Vue.js ecosystem at once.

You can start with the basics and add more features as needed. This way, you can integrate it into an existing project or use it to build a complete application from scratch.

Vue.js is known for its high performance. It uses a virtual rendering system (Virtual DOM) similar to React’s, but with improvements in dependency management and reactivity.

This results in a very fast and fluid user interface, even in complex applications or with many changes in the data.

There are even several ideas and mechanisms on the way to optimize it even more.

Vue.js has an active community and a growing ecosystem.

Tools such as:

  • Vue Router
  • Pinia (for state management)
  • Vite (for fast building)
  • Nuxt.js (for SSR and SSG)
  • UI Component Libraries

Make Vue.js a complete and future-proof option for development (if a framework does not attract a community and generate components, it is doomed to disappear soon).

In short, Vue.js is one of the leading frameworks for web application development (and, as I said, one of my favorites).

If you are starting in the world of frontend development or looking for a framework for your web applications, Vue.js is an excellent choice.

In the following tutorials of this course, we will see how to use Vue.js from the basics to building complex applications 🎉.