WeAreDevelopers LIVE Apr 18, 2023

Under The Hood Of Vue 3 Reactivity

Marc Backes

Vue 3's reactivity isn't hidden magic. Watch us live-code a custom ES6 Proxy engine from scratch to deeply understand modern state management and automated dependency tracking.

Pause
Mute Enter Fullscreen
#1 about 3 min

Fundamental concepts of Vue 3 reactivity and Observer pattern

The basic mechanisms of tracking changes and notifying subscribers using the Observer pattern.

#2 about 4 min

Intercepting object properties with ES6 proxies

Why ES6 proxies replace object define property to effectively override getters and setters.

#3 about 4 min

Mapping dependencies with targets properties and effects

The internal data structures including WeakMap, Map, and Set used to link object properties to their reactive side effects.

#4 about 5 min

Identifying the need for automated state updates

A live coding example revealing how vanilla JavaScript fails to recalculate variables automatically upon state changes.

#5 about 4 min

Implementing manual track and trigger functions

Constructing rudimentary tracking to store associated functions in a Javascript Set and executing them synchronously.

#6 about 7 min

Building a manual proxy handler for target objects

Writing a proxy handler from scratch to view and intercept target keys during read and write operations.

#7 about 5 min

Constructing the reactive wrapper to automate tracking operations

Combining custom track and trigger logic into a dynamic proxy interface to create the core reactive function.

#8 about 6 min

Wiring dynamic dependencies using an active effect variable

Connecting functions explicitly via a temporary global variable to inherently register dependencies without hardcoding object paths.

#9 about 4 min

Simulating DOM updates using the constructed reactivity engine

Applying the constructed reactivity logic to trigger HTML text recalculations and CSS changes interactively.

#10 about 13 min

Discussion on proxy performance and nested component reactivity

Addressing backend footprint concerns with proxies, handling deep state paths, and filtering computational bounds dynamically.

Matching moments

5:27 min

Core JavaScript structures powering Vue reactivity

Marc Backes · WWC 2021

2:59 min

Comparing Vue to React and Angular

Rob Richardson · LIVE

1:28 min

Introduction to the speaker and frontend projects

Abdelrahman Awad Abdelrahman Awad · WWC 2025

3:30 min

Automating dependency tracking with native ES6 proxies

Marc Backes · WWC 2021

4:30 min

Tracking open source community trends in JavaScript native frameworks

Dan Cranney +2 · LIVE

1:58 min

Navigating the learning curve of reactive programming

Jan-Niklas Wortmann · LIVE

Upcoming sessions on this topic

Open session

World Congress 2026 North America

Beyond Vibe Coding: An AI Builder’s Guide to Migrating 10k+ React Components

Shubham Chaurasia

Senior Software Engineer @ Meta

Shubham Chaurasia
Open session

World Congress 2026 North America

Testing React Backends Like a Pro: Mocking Databases with SQLite

David Morris

Solution Architect

David Morris
Open session

World Congress 2026 North America

Architecting AI in Angular: WebMCP, A2UI, and the Agent Experience

Ankita Sood

Sr. Principal Engineer @ Secureworks | Angular GDE

Ankita Sood
Open session

World Congress 2026 North America

One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World

Bartosz Leczycki, Paweł Matynia

Bartosz Leczycki
Paweł Matynia
Open session

World Congress 2026 North America

The Agentic Engineering Loop

Kevin Lin

Member of Technical Staff at OpenAI

Kevin Lin
Open session

World Congress 2026 North America

GitHub’s Team X-Ray: Your Repository Knows More About Your Team Than Your Team Does

Andrea Griffiths

Senior Developer Advocate

Andrea Griffiths