Does vue emit an event even if there is no listener?

I am looking to emit a lot of data from an event in some shared Vue3 code.

I only have an event listener for this emit on certain circumstances.

Will Vue always emit this data if I use the emit('myEvent', lotsOfData) syntax or does it know to see if there is an active listener?



Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept