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
If I have a list of components and each have it's own local state - is there a way to query their state from the outside?
I can probably use @ViewChildren() and access it but looking for another way that won't require parent\child relation to access the local states.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
If I have a list of components and each have it's own local state - is there a way to query their state from the outside?
I can probably use @ViewChildren() and access it but looking for another way that won't require parent\child relation to access the local states.
Beta Was this translation helpful? Give feedback.
All reactions