I’m able to access API of a page include as such:
let skuidPageInclude = skuid.$C(pageIncludeId).state.includedPageComponent.getPageAPI()
Which allows me to do things like:
skuidPageInclude.$M('SomeModel').save()
\\ or
skuidPageInclude.snippet.getSnippet('someSnippet').call()
Another approach to the above would be to publish/subscribe to events. Though, it get’s messy if I need some communication back and forward.
Therefore, I’m highly interested in using the above examples. I understand Skuid API might change, but what is the risk of doing above compared to getting component on local page, e.g.:
skuid.$C('localComponent');
\\ vs
skuidPageInclude.$C('pageIncludeComponent');
Thank you,
Lukas