Hey guys!
When you create a child context using the wire plugin, then it's a child context and you can access components in the parent context - which is great (e.g. for having a user/session at the top level.
However when you create the child context using defer: true, and so have to call that wire fn() later, this is no longer a child context but just a new context with no parent! This is a bit annoying - is there any reason for this difference? I'm sure there is a way around it but was this decision conscious or is it just a side effect of how defer works? Also what would be the easiest way to get the parent context?
If you're wondering why, its simply to have a different spec for different areas of the site and create/destroy them as needed :)
Gehan