Parent App access vs Events in Flex Modules
-
25-09-2019 - |
Question
Inspired by this Flex question, is it seen as better practice to dispatch an event back to the parent app, as opposed to calling a method on the instance of the parent app, from within a module? To me it seems that the module shouldn't know what methods are available at the parent, as such approach leads to tight coupling.
Thoughts?
Solution
I think I found my answer here.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow