mid19 zgłoszeń
Wyjaśnij cykl życia komponentu Vue.
Hooki: beforeCreate/created → beforeMount/mounted → beforeUpdate/updated → beforeUnmount/unmounted. W Composition API: onMounted, onUpdated, onUnmounted. mounted: DOM dostępny. unmounted: cleanup (timers, event listeners). setup() odpowiada beforeCreate/created.