Summary
In this chapter, we have introduced methods and used them to clean up the components of our Companion App. We learned the difference between Refs and Reactive and learned how to use them within the <script>
section of components, and then we moved forward and learned how to create dynamic properties using computed properties. To complete the chapter, we fortified our knowledge of these two topics by going over a few more examples.
In the next chapter, we are going to learn how to create and manage events using Vue event handling. Up until now, we have focused on the individual components, but with the introduction of events and events handling, we will be able to define two-way communication between components. Event propagation is an essential skill to have to be able to develop scalable and clear component-based applications.