Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
feature(router): warn if navigation triggered outside Angular zone #24728
I'm submitting a...
When some user performs navigation outside the Angular zone, the change detection will not be invoked.
Even it's certainly users' fault, they may still going to be confused by what the problem is:
As the navigation should always happen in Angular zone, so router itself could guard against that thus produce a warning when not valid.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Reduce the invalid issue amounts.
@trotyl, yeah, so the case will be.
I think maybe we can do something to let