You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the migration guide, it suggest using mitt to migrate existing event hubs, but its interface is incompatible with Vue 2 where:
mitt's emit doesn't support variadic arguments that $emits supports
mitt doesn't support $once
I suggest to include tiny-emitter which its interface is fully compatible with Vue 2 $on, $off and $once, and its emit method do support variadic arguments.