Summary
In this chapter, we have seen in detail the different approaches and methods to control the flow of data between our components, services, and persistent storage provided by modern browsers. We also took time to integrate our knowledge by experimenting with session storage and the Decorator pattern to create a reactive/persistent central state. We took time to differentiate between approaches, and we have seen code for the implementation of each method. All these new skills are used daily in the development of Vue 3 applications.
In the next chapter, we will investigate improving the performance of our application by using advanced JavaScript tools: web workers.