-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0.0-alpha.1: $stateChangeStart and $stateChangeSuccess status #2655
Comments
I just ran into this problem myself. Discovered you can use this instead: $transitions.onStart({}, function() {});
$transitions.onSuccess({}, function() {}); |
Woops, it looks like 1.0.0-alpha.1 build didn't include the state events! We've deprecated the The hooks documentation is at http://angular-ui.github.io/ui-router/1.0.0-alpha.1/interfaces/transition.ihookregistry.html |
This was a pretty heinous thing to include without a deprecation notice. Just realized we have no analytics since the upgrade to 1.0, and pretty terrible migration help to get it back to where it needs to be. I vote greater caution is taken with this sort of stuff in the future, especially because removed events don't ever show up in your error tracking. |
Hi,
What is the current status of $stateChangeStart and $stateChangeSuccess, they seem to be removed from the lib but I can't find any documentation about it.
What is the alternative solution if they're actually removed?
Thanks
The text was updated successfully, but these errors were encountered: