Vue.js what's the difference of $emit and $dispatch?
<p>In vue2.0 the event <code>$dispatch</code> and <code>$broadcast</code> is deprecated.</p>

<p>And I found that <code>$dispatch</code> is similar with <code>$emit</code>.</p>

<p>What's the differences between them? Is it safe directly replacing <code>$dispatch</code> into <code>$emit</code> when migrating.</p>