Does ArcGIS JS API supports mixin approach? Especially, while using javascript framework like ExtJS (or any other js frameworks) - how reusability can be achieved? One approach may be to keep all the functions in one file, call main function from the other files with some parameters and manage code using if..else..approach. Wondering if any other better approach.