So, if you’re here then you are probably wondering where the Vue framework is in 2019. The past year was really good for this, loved by many, framework. With constant updates, support from its creators and very talented community, Vue JS is coming really strong into 2019, and with every month is getting closer to stand against giants such as Angular or even React in terms of popularity and utilization in business applications.
To take a better look at what we are dealing with, let’s start with some fun and not boring at all statistics!
Vue’s position in 2019
According to BuiltWith.com, over 97,000 live websites are currently using VueJS. For comparison, 148,000 live websites are using React. As we can see, VueJS is not far behind its competition which is amazing news! Throwing Angular into the mix with just over 24,000 live websites it’s clear that Vue is truly gaining a lot of much needed attention from both developers and companies.
Next up, NPM downloads.
December of 2018 has been the best month for Vue by far. That month there were over 2 600 000 downloads of the Vue package! React had a great year too! In October there were over 14 millions downloads of React.
What do developers like most about Vue?
First of all, it’s easy to learn due to detailed and easy to follow documentation. Applications created with Vue are lightweight and have a really good performance. On top of that Vue is full of features making sure that your application can be robust.
So what will change in 2019 in the world of Vue?
Quite a lot! The Vue codebase is now written using TypeScript. Wait, what? Yeah, it’s really happening. It’s going to be entirely rewritten from ground up. But why?
Multiple sources show that TypeScript is growing with tremendous speed. In 2017 and 2018 it’s surpassed Shell, Ruby and C in the number of projects created on GitHub.
Are there any benefits of using TypeScript?
Yes! Evan You, in his recent presentation, has stated that Vue 3 will be much faster than Vue 2 thanks to the mentioned above migration. Source code will be more maintainable and the whole Vue package will be shrinked down from 20kb gzipped to just below 10kb.
Considering everything I’ve mentioned above, I think it’s no surprise that the previous TypeScript support Vue’s had is going to be significantly improved with Vue 3.
Virtual DOM improvement
Another major change is the Virtual DOM’s major performance improvement. Evan You utilized some tricks from InfernoJS framework that appear to double the Vue’s app boot up speed! Also, static tree hoisting, static prop hoisting etc. are expected to have a compile time improvement.
New iteration of Vue is going to have improved property observations, as 3.0 will be equipped with a Proxy-based observer, that eliminates some of previous limitations. Now changes can be tracked on addition and deletion of property, Array index mutation and
Debugging is going to see some changes too! As Evan’s post suggests, it’s going to be easier, as developers will be able to easily identify why a component is re-rendering using
Other changes expected in Vue 3.0 are optimized slots generation meaning that a parent and a child can be re-rendered separately, platform agnosticism - easier to render-to-native projects such as Weex and NativeScript Vue, and, lo and behold, IE11 Support.
To read the whole article with all the goods that are coming with Vue 3.0 head over to Plans for the next iteration of Vue JS.