If we were to change it we would still have to support xhooks.
It is since 4.1.0 has been out for quite some time now (Oct 2011). Not saying that would be hard but something we would have to think about.
I found this short youtube clip. If you are a visual person, it might speak volumes to you...
It show that it's important to select the right words.... you will have better results
Last edited by LesJ; 8 Mar 2012 at 2:57 AM. Reason: change link
Just FYI, I put in a story to consider renaming xhooks to something more descriptive like overrides.
I remembered xhooks from SenchaCon today and tried using it in a proxy config, but no luck! They're not in the docs either.
It seems that only components support xhooks, why not all classes? Shouldn't it be part of Ext.Base rather than AbstractComponent?
Chief Architect @ Jarv.us Innovations
Co-captain @ Code for Philly
Jarvus builds and optimizes top-quality Sencha Touch and ExtJS apps for open-source projects and clients of all sizes.
Don't waste time with bugs that have already been found and fixed by the community, compile our tried and tested hotfixes packages into all your projects: https://github.com/JarvusInnovations/sencha-hotfixes
We chose a somewhat out-of-the-way name for this config (though it is in legue with "xtype" and "xclass") to not be confused with "override" in Ext.define. It is also something you probably don't need very often. The reason this is even present is that the underlying ability this config uses was needed by Ext.define/override to deal with singletons.
Also, the reason this is only applicable to components is that not all classes have the "config" concept as part of their design. Many classes do, but not all in the framework. And very likely not all classes in user applications.
The good news is that the functionality is now provided by Ext.override when the target of the override is an instance and not a class (which was previously an supported thing). The internal method Mitchell mentioned has been removed in favor of providing this functionality to any class or object via Ext.override.