Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

How to share an object for two parallel level components?

$
0
0

@Balu wrote:

Case: I need to share an object for two parallel level components, once the components are destroyed the object reference should be destroyed. Now I used service for sharing sharing but I need it should not be a long-lived state. Any alternative solution for this. I'm in a situation to initialise both the components using util method so, I couldn't not use block form initialisation for component. It would be helpful If I just replace service as some other object and use it.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles