Introduction In vue js we have essentially three ways of making unrelated components communicate with each other: Vuex Pinia Event Bus On the official documentation we can read: In most circumstances, using a global event bus for communicating between components is discouraged. While it is often the simplest solution in the short term, it almost invariably proves to be a maintenance headache in th
![Using Event Bus in Vue.js 3](https://cdn-ak-scissors.b.st-hatena.com/image/square/39c53526f7cb815b3cec40d3bc24bd6e00228113/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fpracticaldev%2Fimage%2Ffetch%2Fs--aWIQhgyl--%2Fc_imagga_scale%2Cf_auto%2Cfl_progressive%2Ch_500%2Cq_auto%2Cw_1000%2Fhttps%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3gl76hd4uodympysukjd.png)