You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to pass an observable between two web components (e.g. a parent and a child). I was hoping to put a reaction in the render method of both components based on the same observable (I am passing the observable from the parent to the child on the HTMLElement.data property). Then if the observable was modified by either component, it would re-render either/both as appropriate.
What I am seeing however is that the reactions only fire in the element where the observable is created. Is this the intended behavior?
The text was updated successfully, but these errors were encountered:
I am trying to pass an observable between two web components (e.g. a parent and a child). I was hoping to put a reaction in the
render
method of both components based on the same observable (I am passing the observable from the parent to the child on the HTMLElement.data property). Then if the observable was modified by either component, it would re-render either/both as appropriate.What I am seeing however is that the reactions only fire in the element where the observable is created. Is this the intended behavior?
The text was updated successfully, but these errors were encountered: