Course contentsShow
← React
Lesson 23 of 2,3961. Why React ExistsFree lesson

Vue: The Progressive Framework

Vue's template-based syntax, reactivity system, and how it balances ease of learning with React's component model.

Vue: The Progressive Framework

What you'll learn: How Vue approached the same state-view synchronization problems as React, but with a different philosophy emphasizing incremental adoption and template-based syntax.

The Vue Philosophy

While React emerged from Facebook's need to manage complex UIs, Vue (created by Evan You in 2014) took a different path. Vue observed the pain points developers faced with Angular 1.x's complexity and React's learning curve, then asked: "What if we made a framework that's easy to start with but powerful enough to scale?"

Template-Based Syntax

Unlike React's JSX (which we haven't covered yet), Vue uses HTML-like templates:

<div id="app">
  <h1>{{ message }}</h1>
</div>

This looks like plain HTML! For beginners coming from static websites, there's less mental overhead. You write markup that looks like what you're used to, rather than mixing JavaScript and HTML in a new syntax.

Reactivity System

Vue's reactivity automatically tracks which parts of your view depend on which data. When data changes, Vue knows exactly what to update—similar to React's declarative approach but implemented differently under the hood. You don't manually decide when to re-render; Vue watches your data and handles it.

Progressive = Pick What You Need

Vue's "progressive" label means you can adopt it incrementally. Need to add one interactive widget to a static page? Drop in Vue for just that section—much like jQuery's flexibility but with declarative benefits. Building a full application? Vue scales up with routing and state management tools.

Key Takeaway: Vue tackled the same state-view synchronization problem as React but prioritized familiar HTML-like templates and gradual adoption, offering a gentler learning curve while maintaining component-based, declarative architecture.