All root selectors from the library can be used to update the store with data from backend responses.
ngrxEntityRelationshipReducer should be added as a meta reducer.
It reacts on
reduceGraph actions, and adds / updates their payload in the store.
If the entity exists in the store, then it will be replaced, not merged, unrelated entities will stay as they are.
In React with Redux apps, we need to pass
In Angular with NGRX apps, we need to provide
metaReducers for our
You can read about different types of actions and how they normalize data in stores in the next sections.