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.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
In the migration guide, it suggest using mitt to migrate existing event hubs, but its interface is incompatible with Vue 2 where:
$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.The text was updated successfully, but these errors were encountered: