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
Hi, I'm new to NgRx Data. Really enjoying using it so far!
I'm wondering if there is a recommended way to get an entity by ID from the store if it exists, and from the server if not.
Should I just wrap the EntityCollectionService facade in another service and implement the logic myself? Or is there an effect I can add that would take care of this for me?
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
-
Hi, I'm new to NgRx Data. Really enjoying using it so far!
I'm wondering if there is a recommended way to get an entity by ID from the store if it exists, and from the server if not.
Should I just wrap the EntityCollectionService facade in another service and implement the logic myself? Or is there an effect I can add that would take care of this for me?
Beta Was this translation helpful? Give feedback.
All reactions