Answer the question
In order to leave comments, you need to log in
How to avoid browser crash on $state.go()?
Actually the question is that when you try to change the state, the browser crashes (out of memory) or inspected target disconnected. Angular (es6) ui-router project, built with webpack. I googled, they say that memory leaks sometimes happen with the router, but that's not my case. How to be in this situation?
UPD: And if you just type the status url in the browser line, everything works.
Answer the question
In order to leave comments, you need to log in
If you subscribed to $stateChangeStart, $stateChangeSuccess - there might be a leak in your handlers.
I used ui-router in all projects - I have never encountered such an error.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question