Remove mitt and use an internal EventEmitter (#2477)
This fixes one of the crucial bug in Next.js The issue happens when you try to load a page when it's prefetching. With mitt, it only fires the first registered event.
Showing
lib/EventEmitter.js
0 → 100644
想要评论请 注册 或 登录