Navigation ID is not equal to the current router navigation id error

后端 未结 5 1333
清歌不尽
清歌不尽 2020-12-20 11:54

I\'m using @ngrx/router-store in my Angularv5 app and I recently started running into a an error: Navigation ID X is not equal to the current navigation id Y (w

5条回答
  •  醉梦人生
    2020-12-20 12:11

    I figured it out! There was code in a component that was calling router.navigate() on a NavigationEnd event. So the answer was similar to the answer in this S.O. issue (rapidly changing the route).

提交回复
热议问题