-
Notifications
You must be signed in to change notification settings - Fork 25
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
Responses are not intercepted on page reload #161
Comments
@churixho Chrome/Firefox? |
Problem occured in both Firefox and Chrome |
It appears to me that the this is due to race condition. When I delay the axios in my site (i.e. the loading of a.json in the example) for 2 seconds, the result could be interruped. |
@churixho Yes, the issue here is that the the web page gets the data from |
I'm also waiting for the capability to intercept response on page reload. |
I'm using Interceptor to debug an angular page, and need to intercept XHR requests run during page load. I too notice that Interceptor can't intercept this when reload the page. |
My SPA site is built using ReactJS + Redux + react router.
Let's say we have page A whichs load a.json and page B which loads b.json
Case 1: Go to page A; intercept a.json; then refresh the page
Results: a.json is not intercepted
Case 2: Go to page A; intercept b.json; then go to page B
Results: b.json is intercepted successfully
Expected behaviour: Response could be intercepted upon page refresh
The text was updated successfully, but these errors were encountered: