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

Today Walkin 14th-Sept

Network Error and Timeout on Authorize.net JS

Spring Elasticsearch Operations