Reactivity in Vue
Listen now
Description
Join Alex and Michael on a talk about a key topic in Vue.js - the reactivity system. Before diving into how it works in Vue 3, reactivity in Vanilla JS is covered. Then, the differences between the major Vue versions are discussed, showing an astonishing evolution in terms of DX but also performance when it comes to reactivity.Of course, the ref vs reactive topic can’t be left out, and neither can signals and vapor mode.Sounds interesting? Then tune in! Enjoy the episode!  Chapters (00:00) - Welcome to DejaVue (01:38) - What is Reactivity in general? (03:47) - Reactivity in JavaScript? (07:45) - Reactivity in Vue 1 (09:08) - Changes to reactivity in Vue 2 (10:47) - Reactivity system and caveats in Vue 2 (15:10) - Vue 3 Reactivity with Proxies (19:00) - No IE11 support (20:22) - Ref and Reactive in Vue (25:12) - shallowRef, triggerRef and more (28:23) - Why not shallowRef by default? (31:24) - Vue's reactivity system as a standalone package (34:21) - Vapor Mode (40:52) - Wrapping Up Links and Resources $10 off for Michael's Nuxt Tips Collection* with this link and the code DEJAVUE (Release on Aug 5th)10% discount for the vue.js de Conf in Bonn, Germany* with code DEJAVUE DejaVue #E015 with Evan YouPetite Vue TalkDebugging Guide: Why Your Vue Component Isn't Updating (and how to fix it)Marc Backes - Building a Time Machine with ProxiesCanIUse Beowser Usage StatsMichael Thiessen on ref vs. reactiveAlex's shallowRef guideAlpine.jsReactivue - Vue CAPI in React 👀Arrow-jsVapor Mode RepoVapor Mode Playground Links marked with * are affiliate links. We get a small commission when you register for the service through our link. This helps us to keep the podcast running. We only include affiliate links for services mentioned in the episode or that we use ourselves.
More Episodes
Vue.js can be used in many different ways - with a meta framework, as a plain SPA, via the script tag and also with Inertia! Created in the Laravel ecosystem with adapters for various back- end front-end frameworks, Alex and Michael got a special guest on the episode who couldn't fit better to...
Published 10/10/24
Published 10/10/24
Vue is fast (actually the fastest SSR framework)! But sometimes apps might a bit more fine-tuning. And by sometimes, we mean rarely. Still, it can happen - so join Alex and Michael in this DejaVue episode to dive into what tools Vue gives us to improve the frameworks' performance.  Further, they...
Published 10/03/24