What is the best practice when using the App object associated with your extension? Should you only request it once, then pass it around or can you request it whenever you want?
I started by requesting qlik.currApp() once, then passing it around. Eventually, that felt cumbersome, so to streamline the marshalling and passing of data to callbacks I tried just calling qlik.currApp() when I needed my App object and suddenly nothing worked.
What would cause these App Objects to differ?
- qlik.currApp() invoked in mounted()
- qlik.currApp() invoked during a callback from Field().OnData.once()
(Edited to fix spelling mistake.)