Bacancy Bacancy
      • About Company
      • Resources

      About Company

      About Us Leadership Team Customer Reviews Awards & Recognition
      Infrastructure Our Locations Partnership

      Resources

      Press Room Blog Insights
      We are great place to work certified™

      Building and Sustaining High-Trust, High-Performance Culture

      Get Quote
    • Engagement Models

      Hiring Software Developers becomes easier with just a few clicks.

      Software Development Outsourcing

      End-to-end delivery of custom solutions aligned to your roadmap.

      Staff Augmentation

      Scale your in-house team with pre-vetted specialists on demand.

      Dedicated Teams

      Get dedicated engineers who work exclusively on your project.

      • Enterprise Services
      • IT Services
      • Data Analytics
      • Cloud Services
      • AI & ML
      • Platforms

      Enterprise Services

      Digital Transformation Business Process Automation Digital Product Engineering Enterprise App Development Custom Software Development

      IT Services

      Legacy App Modernization DevOps & SRE Full Stack Development AI Testing & QA Automation

      Data Analytics

      Data Visualization & Reporting Data Engineering & Pipelines Data Science & Predictive Analytics Business Intelligence

      Cloud Services

      Cloud Strategy & Consulting Cloud Migration & Modernization Multi Cloud Management

      AI & ML

      AI Development Agentic AI Generative AI Computer Vision Machine Learning & MLOps

      Platforms

      Salesforce SAP ServiceNow Microsoft Dynamics Snowflake
      High-quality, Cost-effective IT Outsourcing

      Schedule a free discovery session to explore your needs and find tailored solutions with no obligation.

      explore all services
    • Industries
      Healthcare Fintech Real Estate
      Logistics Education Retail & Ecommerce
      Let's Grow Together! Get Quote
      • Front End
      • Backend
      • Mobile
      • Databases
      • DevOps & Infra
      • AI & Data Stack
      • Vibe Coding

      Front End

      React.js Next.js Angular Vue.js TypeScript
      Your Very Own UI/UX Architects

      Experience smooth navigation and user-friendly designs with our front-end expertise.

      Hire Frontend Developer

      Backend

      Node.js Python Java Spring Boot Laravel .NET C# Golang FastAPI
      Server Solutions To Change Power Dynamics

      Transform your data into digital experiences with optimized coding standards.

      Hire Backend Developer

      Mobile

      iOS Android Flutter React Native
      Innovating Mobile-Friendly App Solutions

      Create dynamic mobile apps that make your brand stand out from the crowd.

      Hire Mobile App Developer

      Databases

      PostgreSQL MongoDB MySQL Redis Supabase
      Dedicated Talent With Skilled Approach

      Bring your digital visions to life with a hired resource at your convenience.

      Hire Dedicated Developer

      DevOps & Infra

      AWS Azure Google Cloud Docker Kubernetes Terraform
      Redefining Scalable Digital Infrastructures

      Make your data accessible worldwide at will, and leave the stress behind.

      Get Quote

      AI & Data Stack

      OpenAI LangChain LlamaIndex Apache Spark Airflow Tableau PowerBI Databricks
      Guiding Decisions With Data-Driven Insights

      Transition from your gut calls to actionable insights with our rich Data Science expertise.

      Get Quote

      Vibe Coding

      Base44 Claude Code Cursor Lovable Github Copilot
      Your AI-Native Development Team

      Skip the boilerplate. Our vibe coding experts use AI-first tools to go from prompt to product, fast.

      Hire Vibe Coding Developer
  • Case Studies
  • Contact Us
Find a Developer book a 30 min call
      • About Us
      • Leadership Team
      • Customer Reviews
      • Awards & Recognition
      • Infrastructure
      • Our Locations
      • Partnership
      • Press Room
      • Blog
      • Insights
      • Digital Transformation
      • Business Process Automation
      • Digital Product Engineering
      • Enterprise App Development
      • Custom Software Development
      • Legacy App Modernization
      • DevOps & SRE
      • Full Stack Development
      • AI Testing & QA Automation
      • Data Visualization & Reporting
      • Data Engineering & Pipelines
      • Data Science & Predictive Analytics
      • Business Intelligence
      • Cloud Strategy & Consulting
      • Cloud Migration & Modernization
      • Multi Cloud Management
      • AI Development
      • Agentic AI
      • Generative AI
      • Computer Vision
      • Machine Learning & MLOps
      • Salesforce
      • SAP
      • ServiceNow
      • Microsoft Dynamics
      • Snowflake
    • Healthcare
    • Fintech
    • Real Estate
    • Logistics
    • Education
    • Retail & Ecommerce
      • React.js
      • Next.js
      • Angular
      • Vue.js
      • TypeScript
      • Hire Frontend Developer
      • Node.js
      • Python
      • Java
      • Spring Boot
      • Laravel
      • .NET
      • C#
      • Golang
      • FastAPI
      • Hire Backend Developer
      • iOS
      • Android
      • Flutter
      • React Native
      • Hire Mobile App Developer
      • PostgreSQL
      • MongoDB
      • MySQL
      • Redis
      • Supabase
      • Hire Dedicated Developer
      • AWS
      • Azure
      • Google Cloud
      • Docker
      • Kubernetes
      • Terraform
      • Get Quote
      • OpenAI
      • LangChain
      • LlamaIndex
      • Apache Spark
      • Airflow
      • Tableau
      • PowerBI
      • Databricks
      • Get Quote
      • Base44
      • Claude Code
      • Cursor
      • Lovable
      • Github Copilot
      • Hire Vibe Coding Developer
  • Case Studies
  • Contact Us
  • Find a Developer
  • book a 30 min call
New Features in Vue 3

What’s New in Vue 3? – A Comprehensive Overview on Exciting New Features in Vue 3

Paridhi Wadhwani
Paridhi Wadhwani Tech Geek
Nikita Sakhuja
Nikita Sakhuja Director of Engineering
Last Updated on June 3, 2024 | Written By: Paridhi Wadhwani, Nikita Sakhuja

Quick Summary:

Vue 3 is already available! The wait is over now. If you’re likely to get a head start with the updated version, read the blog to know everything about what’s new in Vue 3. There is a seminar conducted by the Massachusetts Institute of Technology, where they invited Sarah Dranser and Anthony Gore to make the event more exciting and educational. The event is all about; What’s new in Vue 3? The experts discuss about the new Vue 3 components and features that will help us to improve your Vue application’s performance.

Table of Index

1. Introduction

2. Know About Vue 3 Release Date

3. What’s new in Vue 3?

  • Composition API
  • Multiple Root Elements
  • Suspense
  • Multiple V-models
  • Better Reactivity
  • Portals
  • Fragments
  • Global Mounting/Configuration API Change
  • Custom Directive API
  • Full TypeScript Support

4. Final Thoughts

Introduction

Recently on 18 September 2020, Vue 3 released with many new and exciting features that lead to better performance and maintainable code. If you’re not aware of it, then you should check out this blog post to know the crucial details and resources on what’s new in Vue3?

Massachusetts Institute of Technology (MIT) held a colloquy for their students. The guests of honor were Sarah Dranser and Anthony Gore, who were invited to make the conversation more educational and highly-interactive for the students. The seminar was conducted to educate the students regarding the latest trends about the progressive front-end framework created by Evan You. Yes, it’s about the new Vue 3 component and features for Vue performance optimization.

MIT

Sarah Dranser is an award-winning speaker, conducts conferences worldwide, and shares her insights about Vue, animations, and other great stuff. She is a former Principal Lead of Emerging Markets, Cloud Advocates at Microsoft, and UX & Engineering at Trulia/Zillow Group.

Anthony Gore loves to share insights about the new web technologies; he is a full-stack developer and the founder of Vue.js Developers from Sydney, Australia. He is passionate about JavaScript and an active technical writer.

To make it more interesting, me and Sarah Dranser have decided to discuss the Vue 3 components and features one by one so that you won’t get bored where you all can also join and share your insights about Vue 3. So without further ado, let’s get started! – Anthony Gore

What's new in Vue 3

As per the standard update from Evan You, Vue 3 is more durable, smaller, and more maintainable, and it’s more comfortable to target native. And, there are prominent features in Vue3. Let’s discuss them in detail.

Know About Vue 3 Release Date

The Vue 3 core is officially released as of 18 September 2020, which means the core is stable. The Vue 3 docs are published with a migration guide about the changes done in Vue 3.

Now you’re all set to experiment with Vue 3 and have fun with it!

What’s New in Vue 3? – Vue 3 Components, new features, and changes:

1. Composition API

Composition API is the collection of APIs for a better understanding of business logic. It is different from Options API in Code structure organization that focuses on the features to be developed rather than code lines. The colored blocks are used for logical concerns, and comparing them with the Composition API provides a better organization of logic than the options API.

Start creating with the Composition API with a flexible code organization and logic reuse capabilities with many other improvements. It helps to make your code readable and maintainable by introducing the setup method as shown below in a sample script where we’re doubling a number.

< script > 
import { ref } from "@vue/composition-api" 
export default { 
 setup () { 
 const theNumber = ref(1) 
 function doubleTheNumber () { 
 theNumber.value = parseInt(theNumber.value) * 2  } 
 return { 
 theNumber, 
 doubleTheNumber 
 } 
 } 
} 
< /script > 

2. Multiple Root Elements

In Vue’s previous version, the template tags only took a single root element, even if you had just two < p > tags. Enclose them within a

tag to get it working and modify the CSS code in the parent component.

But in Vue 3, there is no restriction, and you’re not required to have a root element anymore.

You can use any number of tags directly inside the < template >< /template > section:

< template > 
 < p >Count: {{ count }} < /p > 
 < button @click=”increment”> Increment < /button >  < button @click=”decrement”> Decrement < /button > < /template > 

Similar code in Vue 2:

< template >
 < div class+”counter” > 
 < p > Count: {{ count }} < /p >  
 < button @click=”increment” > Increment < /button >  < button @click=”decrement” > Decrement < /button >  < /div > 
< /template > 

3. Suspense

The suspense component is a great idea that will be adopted in Vue 3 from the React ecosystem. You can suspend your component rendering by a fallback element until a condition is met.

The suspense will be a component with slots:

< Suspense > 
< template > 
 < Suspense-component/ > 
< /template > 
< template #fallback > 
 Loading… 
< /template > 
< /Suspense > 

The below given below would trigger the fallback until you’ve completed the call to getMyData.

export default { 
 async setup () { 
 const data = await getMyData() 
 return { data } 
 } 
} 

Suspense components can reduce the boilerplate code required to make external calls.

4. Multiple V-models

V-model is a directive to achieve two-way binding on a component. You can use these components to pass a reactive property and edit it from within. V-model is a simple way to pass in value and listen to the input event.

Let’s understand it by taking an example of creating a name component with two values: Forename(s) and Surname.

You’re required to have a v-models for each of those values.

< NameComponent 
 v-model:forenames="forname" 
 v-model:surname="surname" 
/ > 

5. Better Reactivity

Vue had great reactivity in its previous version also, and you might haven’t come across any cases where you found that reactivity was lacking. Let’s go back to Vue 2 and have a loot what those limitations were and then modify it to see if the watchers are triggered:

< template > 
 < div class="hello" @click="test" >test {{list }} {{ myObj }}< /div > 
< /template > 
< script > 
export default { 
 name: "HelloWorld", 
 data() { 
 return { 
 list: [1, 2], 
 myObj: { name: "Preetish" } 
 }; 
 }, 
 watch: { 
 list: { 
 handler: () => { 
 console.log("watcher triggered"); 
 }, 
 deep: true 
 } 
 }, 
 methods: { 
 test() { 
 this.list[2] = 4; 
 this.myObj.last = "HS"; 
 delete this.myObj.name; 
 } 
 }
}; 
< /script > 

In Vue 3, modifications can be done directly without implementing any helper functions.

 
export default { 
 setup() { 
 let list = ref([1, 2]) 
 let a = ref(0) 
 let myObj = ref({ name: 'Preetish' }) 
 function myFun() { 
 list.value[3] = 3 
 myObj.value.last = 'HS' 
 delete myObj.value.name 
 } 
 return { myFun, list, myObj } 
 } 
} 

Look how the watcher is triggered four times in the Vue 3 setup.

Hire Senior Vue.js Developers And Build Awesome Work Scheduling App As Per Your Business Operations

6. Portals

Portals are a way to render child nodes into a DOM tree, and it is a concept from React to render a component outside the parent Vue app’s DOM. This process is very uneven with extra CSS, and JS must inject it into the DOM tree. Using a portal requires a tag with an Id to have a

before the end of your HTML body given below:

< !DOCTYPE HTML > 
 < html lang="en" > 
 < head > 
 < /head > 
 < body > 
 < div id="app" >< /div >
 < div id="modal" >< /div > 
 < !-- built files will be auto injected -- > 
 < /body > 
< /html > 

When you require to teleport a component inside the modal; use the Portal syntax as shown below:

< template > 
 < Portal target="#modal" > 
 < div >I'm rendered in the modal!< /div > 
 < Portal > 
 < /template > 

7. Fragments

Fragments are also called “Multiple Root Nodes.” Fragments introduce this and will enable you to use multiple nodes in a component. If you’re using attribute inheritance, then you need to specify which root component inherit the attributes passed to the parent component:

< template > 
 < ComponentOne / > 
 < ComponentTwo v-bind="$attrs"/ > 
 < ComponentThree / > 
< /template > 

Here you can see that Vue 3 components allow you to use multiple root nodes without any extra effort.

8. Global Mounting/ Configuration API Change

Virtual DOM is used to faster and better performance by reducing the runtime overhead. It helps you to skip unnecessary condition branches and re-renders. It results in faster the component instance initialization, better speed, and half the memory usage.

Changing the configuration API of your Vue application is changed in Vue 3 to improve the possibilities of what can be done using a single global instance.

The current RFC gives new syntax snippets in the VueJS repository and it looks like:

CURRENT:

import Vue from 'vue' 
import App from './App.vue' 
Vue.config.ignoredElements = [/^app-/] 
Vue.use(/* ... */) 
Vue.mixin(/* ... */) 
Vue.component(/* ... */) 
Vue.directive(/* ... */) 
new Vue({ 
 render: h => h(App) 
}).$mount('#app') 

NOW:

import { createApp } from 'vue' 
import App from './App.vue' 
const app = createApp(App) 
app.config.ignoredElements = [/^app-/] 
app.use(/* ... */) 
app.mixin(/* ... */) 
app.component(/* ... */) 
app.directive(/* ... */) 
app.mount('#app') 

9. Custom Directive API

I assume that you are aware of the directive if you’re using Vue. It is the built-in directive when talking about the v-model. These directive methods are synced in Vue 3 with the standard Vue lifecycle to get beforeMount, updated, beforeUnmount, mounted, and unmounted. It becomes effortless to remember when you’re developing your application, and you’re no longer required to find which method you need and remembering two different life cycles.

Directives are used to determine Vue to perform some special operations and define custom directives as per their use cases. Previously custom directives had hooks that didn’t indicate any component life cycle states.

In Vue 3, custom directives consist of all the components lifecycle hooks, which provides a better understanding for developers and semantic organization.

10. Full TypeScript Support

The Vue core team switched to TypeScript from Flow for the development of Vue 3 components to create applications with better type hints. It becomes more comfortable to use TypeScript in Vue 3 compared to the previous version; it will be more TypeScript-friendly.

Vue 3 has built-in TypeScript support, whereas Vue 2 could accommodate TypeScript into your Vue application.

In the end

I hope you’ll enjoy learning what’s new in Vue 3 with Anthony Gore and me. We’ll surely meet again in the new event, till then, explore Vue 3, learn new technologies, and yes, happy coding. Thank you.

– Sarah Dranser

But before we end the event, and I want some students who can discuss Vue 3 features that Sarah and I didn’t mention.

– Anthony Gore

Change detection, Teleport, and Logic extraction – Student’s answers.

I enjoyed sharing my insights with you and waiting to have more such events with you all with more enthusiasm. Thanks.

– Anthony Gore

Final Thoughts

Now that Vue 3 is officially released, you can start using it right away. The new features can improve your application’s performance and faster systems.

There are a few life improvements to create applications that can help you excel in and enjoy.

Vue 3 is backward compatible with some minor changes that do not replace the existing way of doing things; instead, it adds new ways.

Hopefully, you find this blog valuable and have a clear understanding of the modern Vue components and features. If you are looking for version upgrade support to upgrade from Vue 2 Vue 3 or if you are looking for a helping hand to build responsive cross-platform Vue app with Quasar, we can be your one-stop solution. Get in touch with us today to experience one-of-a-kind Vue.js app development services fluffing your custom Vue.js project requirements. We are a globally renowned VueJS development company and let you hire Vue.js developers to build custom VueJS applications.

Frequently Asked Questions:

  • What is new in Vue JS?

    Vue 3 is officially released, which is equipped with TypeScript support. Here are the new features in Vue 3 that you should implement in your existing Vue application: Composition API, V-model, Portals, Multiple root elements, Suspense, and much more.

  • Is Vue 3 stable?

    Yes, Vue 3 is stable now, as it is officially released on 18 September 2020.

  • What is VUE composition API?

    The composition API is a set of function-based APIs for the flexible composition of component logic.


Expand Your Digital Horizons With Us.

Start a new project or take an existing one to the next level. Get in touch to start small, scale-up, and go Agile.


Or
E-mail us : solutions@bacancy.com

Your Success Is Guaranteed !

Related Articles

Dipal Bhavsar

September 10, 2025

Vue.JS

Top 7 Headless CMS for Vue.js in 2026

By : Dipal Bhavsar

The best headless CMS for Vue.js in 2026 depends on your needs. Businesses can select Strapi for open-source control, Sanity...

Read More
Dipal Bhavsar
Jemis Maru

March 6, 2025

Vue.JS

How to Build Real-Time Apps with Vue.js, Express.js, and WebSockets

By : Dipal Bhavsar & Jemis Maru

Building real-time apps with Vue.js, Express.js, and WebSockets enables seamless, instant communication between users and servers, making it ideal for...

Read More
Darshan Joshi

December 12, 2024

Vue.JS

BootstrapVue – A Complete Guide To Simplify Your Development Journey

By : Darshan Joshi

Bootstrap and Vue, a powerful combination of two popular frameworks, can help make stunning, user-friendly interfaces easily and quickly. In...

Read More

Offices and Development Centers

Bacancy Ahmedabad Ahmedabad

15-16, Times Corporate Park, Thaltej, Ahmedabad, 380059

Bacancy Gandhinagar Gandhinagar

422-A, 4th Floor, Pragya Tower Road 11, Block 15, Zone 1, SEZ-PA Gandhinagar, 382355

Bacancy Hyderabad Hyderabad

Awfis, Level 1, N Heights, Plot No 38, Phase 2, Hitech City Hyderabad, 500081

Bacancy Mumbai Mumbai

18th Floor, Cyberone, opp. CIDCO Exhibition Centre, Sector 30, Vashi, Navi Mumbai, 400703

Bacancy Pune Pune

2nd FloorMarisoft-1, Marigold IT Park, Pune - 411014

Bacancy Bengaluru Bengaluru

Raheja Towers, 26/27, Mahatma Gandhi Rd, East Wing, Craig Park Layout, Ashok Nagar, Bengaluru, 560001

Global Presence

Bacancy New Jersey New Jersey

33 South Wood Ave, Suite 600, Iselin NJ 08830

Bacancy California California

535 Mission St 14th floor, San Francisco, CA 94105

Bacancy Massachusetts Massachusetts

501 Boylston St, Boston, MA 02116

Bacancy Florida Florida

4995 NW, 72nd Avenue, Suite 307, Miami, FL, 33166

Bacancy London London

90 York Wy, London N1 9AG, United Kingdom

Bacancy Ontario Ontario

71 Dawes Road, Brampton, On L6X 5N9, Toronto

Bacancy Australia Australia

351A Hampstead Rd, Northfield SA 5085

Bacancy UAE UAE

One Central 8th and 9th Floor - Trade Centre - Trade Centre 2 - Dubai - United Arab Emirates

Bacancy Sweden Sweden

Junkergatan 4, 126 53 Hagersten

Get in Touch

Great Place to Work

Get in Touch

cal-icon

Looking for expert advice?

Schedule a Expert Call


  • Brochure
  • Quality Assurance
  • Resources
  • Tutorials
  • Customer Reviews
  • Privacy Policy
  • FAQs
  • Press Room
  • Contact Us
  • Sitemap
  • Employee

bacancy google review 4.6
bacancy google review
bacancy clutch review 4.8
bacancy clutch review
bacancy goodfirms review 4.8
bacancy goodfirms review
iso
  • Bacancy Behance
  • Bacancy Pinterest

Copyright © 2026 BACANCY SERVICES PRIVATE LIMITED All rights reserved.