World Congress 2024 β€’ Aug 20, 2024 β€’ Session details

Common Mistakes in Vue.js and How to Avoid Them

danielkellyio

Are silent synchronization bugs breaking your Vue.js components? Stop using loop indices as keys and discover why universally adopting ref() will save your application's reactivity.

Pause
Mute Enter Fullscreen
#1 about 7 min

Using the array index as a list item key

Using array indexes as keys causes bugs when list items change order and nested components contain local state.

#2 about 2 min

Forcing element and component re-renders with keys

The key attribute can force Vue to completely re-render elements or components rather than merely patching them.

#3 about 6 min

Handling non-reactive browser APIs in computed properties

Native browser APIs like local storage cannot trigger reactive updates in computed properties without external utility wrappers.

#4 about 5 min

Breaking reactivity by completely replacing reactive objects

Reassigning an entire array created with the reactive function severs its connection to the underlying reactivity tracking system.

#5 about 9 min

Avoiding the direct mutation of component props

Modifying a prop directly inside a child component causes unintended side effects unless handled safely with defined bindings or cloning.

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

2:57 min

Fundamental concepts of Vue 3 reactivity and Observer pattern

Marc Backes Β· LIVE

3:30 min

Structuring and importing predictable, side-effect free composables

Abdelrahman Awad Abdelrahman Awad Β· WWC 2025

1:28 min

Introduction to the speaker and frontend projects

Abdelrahman Awad Abdelrahman Awad Β· WWC 2025

3:05 min

Server rendered component revival and cyclical software trends

James Seconde Β· WWC 2023

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

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

How to generate business value through performance optimizations

Nikolai Sidiropulo

Software Engineer at Meta

Nikolai Sidiropulo
Open session

World Congress 2026 North America

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

PaweΕ‚ Matynia, Bartosz Leczycki

PaweΕ‚ Matynia
Bartosz Leczycki
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

When Humans Stop Writing Code: Rethinking Languages, Compilers, and Responsibility

Simon Auer

Organizer of flutter vienna meetup and CEO of marqably

Simon Auer