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
With ng2 xdomain properly intercepts HTTP requests. Unfortunately, it pulls any HTTP callback logic outside of the Angular "zone".
This is not necessarily a bug, but it is inconvenient, and very confusing at first. A good solution would be to provide an opportunity to inject a callback at xdomain config time, which would wrap the request's success callback.
Using this, an end-user can configure xdomain to automatically instantiate and wrap the logic in a zone.run(...).
The text was updated successfully, but these errors were encountered:
I'm not very familiar with angular 2.0 zones. I vague understand it to be wrapping all JS runtime async functions (setTimeout, setInterval, XMLHttpRequest, etc). This is an XHook issue so I've recreated it there, not sure when I'll get to time to debug this though... Locked, please continue discussion here jpillora/xhook#40
Repository owner
locked and limited conversation to collaborators
Dec 27, 2015
With ng2 xdomain properly intercepts HTTP requests. Unfortunately, it pulls any HTTP callback logic outside of the Angular "zone".
This is not necessarily a bug, but it is inconvenient, and very confusing at first. A good solution would be to provide an opportunity to inject a callback at xdomain config time, which would wrap the request's success callback.
Using this, an end-user can configure xdomain to automatically instantiate and wrap the logic in a zone.run(...).
The text was updated successfully, but these errors were encountered: