Spring naar content
Opinie artikel

Vue3 – New Features and Improvements

Hey there! Welcome to this new blog post!

What is Vue?

In short, VueJS is a progressive frontend framework that facilitates you to build user interfaces. For that, it builds on top of HTML, CSS and JavaScript, not unlike Angular or React. Since version 2.6, the core team around Evan You has introduced a lot of new major features in Vue3, the most important ones of which will be highlighted here.

Composition API

The introduction of the Composition API is arguably the biggest new feature of Vue3.
It introduces a new way of building components in Vue, and can be used instead of the existing Options API.
The Options API declares options while the Composition API relies on importing functions. This leads to a vastly different setup of Vue components depending on which API you choose to use. Take a look at these components from the Vue documentation:

Verder lezen: