Vue Frontend Learning Notes: V2 to V3 and JS to TS

Vue Frontend Framework Learning: V2 → V3, JS → TS Install Vue snippet plugins: Vue3 Snippets and Vetur. Quickly generate Vue templates using <v+enter. **Arrow functions bind this to the outer lexical scope. Functions managed by Vue should be written as regular functions (not arrow). For non-Vue-managed callbacks (e.g., timers, Ajax, Promises ...

Posted on Sat, 03 Oct 2026 16:12:30 +0000 by Supplement

Key Differences Between Vue 2 and Vue 3

Lifecycle Hooks Vue 2 Description Vue 3 beforeCreate() Before creation setup() created() After creation setup() beforeMount() Before mounting onBeforeMount() mounted() After mounting onMounted() beforeUpdate() Before update onBeforeUpdate() updated() After update onUpdated() beforeDestroy() Before destruction onBeforeUnmount( ...

Posted on Sat, 16 May 2026 13:57:10 +0000 by awpti

Understanding Vue's Core Mechanisms and Advanced Features

Vue Framework Design Philosophy Vue is architected as a progressive JavaScript framework, allowing developers to adopt it incrementally from the view layer upwards. Its core library is focused on the view layer, emphasizing ease of integration with other libraries or existing projects. The Virtual DOM The Virtual DOM (VDOM) is a lightweight Jav ...

Posted on Sat, 09 May 2026 13:56:24 +0000 by carobee