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
If the path does not change when calling transitionTo, the dispatch method does not fire. For me this is not the ideal behavior because it is causing problems for my app. If user clicks a link that is equal to their current path, then shouldn't this event still fire? If not, there is no way to easily capture this behavior and do something with it. Any thoughts? Am I missing something?
In createRouter.js:
dispatch: function(path,action){Router.cancelPendingTransition();varprevPath=state.path;varisRefreshing=action==null;if(prevPath===path&&!isRefreshing)return;// Nothing to do!
The text was updated successfully, but these errors were encountered:
If the path does not change when calling
transitionTo
, the dispatch method does not fire. For me this is not the ideal behavior because it is causing problems for my app. If user clicks a link that is equal to their current path, then shouldn't this event still fire? If not, there is no way to easily capture this behavior and do something with it. Any thoughts? Am I missing something?In createRouter.js:
The text was updated successfully, but these errors were encountered: