Is there any problem if I use two onMounted() per one component?
I have only seen examples of one onMounted() per one component. I’d like to use onMounted() for each feature. Is there any problem? MyComponent.vue <script setup> import { onMounted } from ‘vue’; // Feature A onMounted(() => { // Do something. }); // Feature B onMounted(() => { // Do something. }); </script> >Solution :… Read More Is there any problem if I use two onMounted() per one component?