Why Vue and the progressive framework
The problem Vue was built to solve, what "progressive framework" actually means in practice, and where Vue 3 sits next to React and Angular today.
Why Vue and the progressive framework
The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.
Not started
What you'll learn
- Vue exists because hand-written DOM code stops scaling once a page has real state: you end up keeping the data and the screen in sync by hand, and a declarative, reactive layer does that bookkeeping for you.
- "Progressive" means the core library only handles the view layer, and routing, state management, build tooling, and server rendering are official but optional layers you add when a project actually needs them.
- The same Vue can enhance one widget on a server-rendered page with a single script tag, or power a full single-page app built with Vite, Vue Router, and Pinia, so adoption can start small inside an existing codebase.
- Vue's two defining technical bets are HTML-based templates compiled ahead of time and a fine-grained reactivity system that tracks which state each piece of the UI reads, so only the affected components update.
- Vue 3 is the current major version (3.5 is the stable line as of late 2026, with 3.6 in release candidate); Vue 2 reached end of life on 31 December 2023 and should not be the target for new work.
The problem: keeping the screen in sync by hand
Picture a shopping cart built with plain DOM code. When the user clicks “add”, you push an item into an array. Then you have to remember to update the item list, the badge on the cart icon, the subtotal, the “free shipping” banner, and the disabled state of the checkout button. Every one of those is a separate querySelector and a separate assignment:
function addItem(item) {
cart.push(item);
document.querySelector("#cart-count").textContent = cart.length;
document.querySelector("#subtotal").textContent = formatPrice(total(cart));
document.querySelector("#checkout").disabled = cart.length === 0;
renderCartList(cart); // and don't forget the list itself
}
The data is the truth, but the screen is a copy that you maintain by hand. Each new feature adds another place that has to be updated, and the bug where one of them goes stale is the most common bug in this style of code. The DOM manipulation and events lesson shows these APIs in detail. Vue exists to take that bookkeeping off your hands.
What Vue does instead
Vue flips the relationship. You write down what the UI should look like for any given state, and Vue keeps the DOM matching it:
<script setup>
import { ref, computed } from "vue";
const cart = ref([]);
const subtotal = computed(() => cart.value.reduce((sum, item) => sum + item.price, 0));
function addItem(item) {
cart.value.push(item);
}
</script>
<template>
<span id="cart-count">{{ cart.length }}</span>
<span id="subtotal">{{ subtotal }}</span>
<button :disabled="cart.length === 0">Checkout</button>
</template>
addItem now changes data and nothing else. Vue noticed that the template read cart and subtotal while rendering, so when cart changes it knows exactly which parts of the page depend on it and updates those. That is the two-part idea at the centre of Vue: declarative rendering (the template describes the result, not the steps) and reactivity (Vue tracks which state each piece of UI reads and re-runs only what is affected). Both get their own lessons later, starting with text interpolation and attribute binding and ref and reactive.
“Progressive” is about scope, not marketing
Every frontend framework makes a choice about how much it tries to do. Angular ships routing, forms, HTTP, dependency injection, and a CLI as one opinionated package. React’s core is a rendering library, and almost everything else comes from the wider ecosystem. Vue sits between them on purpose.
The core library covers rendering, components, and reactivity. Around that core, the Vue team maintains official, optional layers:
| Need | Official layer | When you add it |
|---|---|---|
| Single-file components, fast dev server | Vite + @vitejs/plugin-vue |
Once you have more than a few components |
| Multiple pages in a client-side app | Vue Router | When the app has URLs worth sharing |
| Shared state across distant components | Pinia | When props and provide/inject stop being enough |
| Server rendering, file-based routing | Nuxt (a separate team, closely aligned) | When SEO or first-load speed matters |
You climb the ladder only as far as the project needs. A useful analogy is a modular kitchen: you can buy the sink alone, and the cabinets and worktop that come later are designed to fit it, rather than buying the whole fitted kitchen on day one.
The same Vue at every size
The bottom rung needs no build step at all. You can enhance one widget on an existing server-rendered page by loading Vue’s ES module build from a CDN:
<div id="signup">
<input v-model="email" placeholder="you@example.com" />
<p v-if="email && !email.includes('@')">That doesn't look like an email.</p>
</div>
<script type="module">
import { createApp, ref } from "https://unpkg.com/vue@3/dist/vue.esm-browser.js";
createApp({
setup() {
const email = ref("");
return { email };
},
}).mount("#signup");
</script>
The top rung is a Vite project with .vue single-file components, Vue Router, Pinia, TypeScript, and possibly Nuxt for server rendering. The component model and the reactivity system are identical at both ends, so moving up the ladder never means relearning the framework. This is why Vue shows up so often inside older Laravel, Rails, and Django codebases: teams can introduce it one page at a time. The next lesson, setting up a Vue project, starts at the build-step rung, which is where nearly all new work begins.
Vue next to React and Angular
A few differences are worth knowing early, because they shape everything later in this roadmap:
- Templates by default. Vue components normally use HTML-based templates with directives like
v-ifandv-for. A compiler turns them into render functions at build time and uses what it can see statically, such as which nodes never change, to skip work at runtime. JSX and hand-written render functions are supported but are the exception, covered in render functions and JSX. - Fine-grained reactivity. React re-runs a component function and, by default, its children whenever its state changes, and you opt into memoization. Vue tracks dependencies per component, so a state change re-renders only the components that read it. How Vue reactivity works explains the mechanism.
- Official companions. Router, store, devtools, and testing utilities are maintained by the core team, so the choices for a typical app are made for you without being forced on you.
The broader trade-offs of picking a framework at all are covered in choosing a frontend framework; the React roadmap at /roadmaps/react is a useful comparison point throughout.
Where Vue is today
Vue 3 has been the default since early 2022. As of November 2026 the stable line is Vue 3.5, and Vue 3.6, which brings a reworked reactivity core and the opt-in, virtual-DOM-free Vapor mode, is in release candidate. Vue 2 reached end of life on 31 December 2023: it no longer receives fixes, and new projects should not target it. This roadmap teaches Vue 3 with the Composition API and <script setup>, the style the official docs now lead with, and gives the older Options API one comparison lesson so you can still read existing code. Vapor mode and the future of Vue closes the roadmap with what 3.6 changes.
What the video covers
Evan You, who created Vue, gave this JSConf.Asia talk about the design decisions behind it. He frames framework design as a set of trade-offs, including how much scope a framework should take on and whether rendering should be described with templates or with JavaScript, and explains where Vue deliberately lands on each. That is the reasoning behind “progressive” from the person who made the call. The talk predates the Vue 3.0 release, so treat any “coming in Vue 3” remarks as history; the section above covers the current state. The documentary in the links below tells the story of how Vue started, and the 2026 State of Vue keynote shows where it is heading.
Check yourself
What does it mean, concretely, that Vue is a "progressive" framework?
The core library is deliberately small and covers only rendering and reactivity. Everything else, such as client-side routing, a global store, a build step, or server-side rendering, is an official companion you opt into. That lets Vue be dropped into one corner of an existing page with a script tag and grown, layer by layer, into a full application without switching frameworks.
Why does a declarative framework help once a page has non-trivial state?
With imperative DOM code, every state change needs matching code that finds and updates every element that depends on it, and forgetting one leaves the screen out of sync with the data. A declarative framework lets you describe what the UI should look like for a given state; the framework works out which DOM updates are needed when the state changes.
How does Vue's rendering approach differ from React's by default?
Vue components usually use HTML-based templates that a compiler turns into optimized render functions at build time, and Vue's reactivity system tracks which state each component reads so only components that depend on a change re-render. React components are JavaScript functions returning JSX, and a state change re-renders that component and, by default, its children, with memoization as an opt-in optimization.
A team maintains a large server-rendered app and wants richer interactivity on a few pages. Why might Vue suit them?
Vue can be adopted incrementally: they can mount small Vue apps onto specific elements of their existing pages, even without a build step, and only later introduce Vite, single-file components, or a router if the interactive parts grow. They are not forced to rewrite the app as a single-page application up front.
Go deeper
Notes
Notes are saved to your account.
Everything else on this page works without one — progress and bookmarks keep themselves in this browser and come with you when you sign in. Notes are the one thing worth not trusting to a browser you might clear.
Your notes could not be loaded.