salkobalic.comHow to Avoid Prop Drilling in VueProp drilling is an annoying thing that happens a lot when you're working with Vue.js. It's when you have to pass a prop through a bunch of components just to get to some data that was set up way higher in the component tree. This can make your code ...Oct 9, 2023·5 min read
salkobalic.comHow to Use v-model in Vue 3: An In-Depth GuideYou might have stumbled upon the term v-model before, and you're probably wondering what it's all about in Vue 3, and how it's different from Vue 2, right? Well, in this article, we're going to have a fun time exploring the world of v-model, its purp...Oct 3, 2023·7 min read
salkobalic.comHow to Emit an Event From Child to Parent Component in Vue: $emitVue.js has this amazing ability to make communication between components a breeze, which helps create super interactive and engaging experiences for users. In Vue.js, components can send out events, making it easy for data to move from child componen...Sep 30, 2023·5 min read
salkobalic.comA Guide to Passing Data from Parent to Child Component in Vue.jsVue.js is an awesome JavaScript framework that's loved by many for its easy-to-use and adaptable nature when it comes to crafting user interfaces. One of its coolest features is how it lets you pass data between components, especially from parent to ...Sep 27, 2023·9 min read
salkobalic.comCreated vs. Mounted in Vue: Which One to Use?In the Vue.js world, lifecycle hooks are super important for managing the different stages of a component's life, from when it's created to when it's removed from the app. These hooks let developers step in at just the right moments during a componen...Sep 24, 2023·9 min read