Why does an ajax request light up after window / container starts?

My question is to better understand the following answer:

How to handle incoming ajax request after window to prevent

I faced the same problem, but don't believe the solutions in the above answer are necessary if I'm using ExtJS correctly. From my understanding of the destroy phase, the last step is to unregister the component instance from the component manager and clear all events. If the framework takes care of this, shouldn't the request / callback be canceled?

+3


source to share


1 answer


The Ajax request should be handled by the controller, not the view. You can find information about MCV in ExtJS here: http://docs.sencha.com/extjs/4.2.1/#!/guide/application_architecture



0


source







All Articles