Vue Releases

Posted on  by admin

Hi everyone,

Great news! Vue v3.1.0-beta has been released with a set of new features and bug fixes, including the onServerPrefetch lifecycle hook!

But that’s not all, because v3.1 comes with the thing we all have been looking forward to for months. The Vue 2 to 3 Migration Build! It allows you to run Vue 3 and the SFC compiler in a backward compatible mode so you can work through the deprecations/breaking-changes 1 by 1, instead of having to rewrite the whole app at once.

If you are wondering how viable it is in a real-life, production application – I’ve tried it on a pretty large one (1k+ components) and managed to make it run and be partially functional within less than 2 hours. I’m convinced that I should be able to fully stabilize it within a few days. Wish me luck! 🤞

Also, the new beta for Vue-Devtools v6 now supports Vue 2.x. No need to toggle different extension versions when switching projects.

By the way, did you know that Vue was used in the mission during the Mars 2020 Helicopter mission? Well, now you do! And if you contributed, you should have a fancy badge on GitHub.

Lastly, my favorite WYSIWYG editor – tiptap – is now supporting Vue 3 with their new v2.0 beta release. Now rewritten in TypeScript.

Have a great week,

— Damian Dulisz

tiptap is the most popular text editor library for Vue. Version 2 is a complete re-write in TypeScript and comes finally with support for Vue 3.

Some exciting changes have been happening with Vite 2, and here to walk us through them is Evan You, creator of Vue.js. In this jam-packed episode, Evan talks about the decision to make Vite 2 a framework-agnostic build tool. We hear about what went into this, and Evan unpacks some of the features that come with this development.

Become Production-Ready with Vue 2 & 3 by mastering advanced patterns, best practices, and cutting-edge techniques for the development of blazing-fast Vue applications. In addition, grab 3 videos:

  • Learn Composition API by converting a Vue app from Options API.
  • Explore Compound Components Pattern and learn how to compose and build flexible components
  • Write cleaner and better code by using modern JavaScript features.

From Thomas Findlay, the 5-star rated mentor.

Have you ever wondered what a complex vue js application really looks like?

Today I’m happy to take a deep dive into the architecture of Diffgram’s Open Annotation UI. This is intended for people who are curious about VueJS at scale.

In this article, we are going to cover the $attrs attribute. We will explain what it is used for, how its implementation differs from Vue 2's (former $attrs, class, @listener), and build a code example to help understand its power.

Easily handle both internal and external links in Vue 3 by wrapping the router link component in your own custom AppLink component.

Learn when to use ref() and when to use reactive() and why you should consider always using ref() instead of reactive().

In this article, Josh Deltener explains one of the gotchas when writing server-side rendered apps. Though he mentions plugins, the reality is, everything that you declare as global (outside of the function scope) will most likely persist on the server and can leak to other users. You can read more about this behavior on Vue’s SSR docs.

Learn how map helpers and modules can make your Vuex code more organized, scalable and readable

It's common to have the possibility to toggle the visibility of a password field on websites, applications etc. Implementing such a functionality with Vue.js 3 and the Composition API is simple and straight forward.

*Vue Schema-Driven Form Generation. Complete rewrite, faster, no unnecessary rerendering*

*vue-grep is a command-line tool that lets you search your Vue.js codebase using CSS selector syntax (like querySelectorAll or jQuery) — essential for navigating large codebases! 🔥*

🤲 Vue 2 fragment directive to return multiple root elements

https://github.com/FranckFreiburger/vue3-sfc-loader

It allows you to load .vue files dynamically at runtime from your html/js. No node.js environment, no build step needed.

Calendar Component for Quasar Framework