Docs research
Vue3
🌀 Lifecycle Hooks in Vue Options API
▶️ 1. Initialization
🧬 2. Mounting (Attaching to the DOM)
🔁 3. Updating (Reactive data changes)
❌ 4. Unmounting (Destroying the component)
🧾 Recommended Order of Options in a Vue Component
✅ Full Example
Pinia store (Manage global state)
You can visit docs
✅ Basic Structure of a Pinia Store (Options API)
🔑 Key Concepts to Understand
1. defineStore(name, options)
defineStore(name, options)2. state()
state()3. getters
getters4. actions
actions5. Reactivity in Components
6. No need for setup() if not required
setup() if not required7. Devtools & Hot Module Replacement (HMR)
8. Modules & Namespacing
📌 Summary
Part
Role
Notes
Last updated