Thread:Project:Support desk/Use of the ResourceLoaderRegisterModules hook disouraged. Why ?

Hi,

I am about to use the  hook to load a javascript file via   on   hook. I am doing this writing an API extension. This is exactly how the ArticleFeedback extension does get load.

I was wondering why this was discouraged ?