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
Post a Comment