In our application, we need data to be shared across two components. For this, I am setting the context in the interface controller of comp-1, and trying to read it in comp-2. Comp 2 is a used component in comp 1, but this method doesnt work. I also tried using an interface method get_context but the references to the interface controller are different in both components.
Can anyone help me to go about this. Thank you.