Introduction to Advanced Vue.js Techniques – Slots, Lifecycle, and Template Refs
Up until now, we have learned about the basic features and techniques offered by Vue.js. Things such as properties and computed are the foundation of the Vue.js framework and will be used daily as you develop your next application with Vue.js. In this chapter, we are going to cover a few features that are what I call “advanced.” This is not described as “advanced” because of its complexity, but in the fact that you will be less likely to use this daily. Features such as slots and Template Refs are used to solve specific use cases and are not expected to be encountered during your average task but are more likely to be used for specific situations that occur less frequently during a project. What you will learn in this chapter may not be used for quite some time, so it would be good to remember its existence and make sure you come back to it if the need for any of these...