Angular · Senior · Question 60 of 75
What does createEntityAdapter from @ngrx/entity give you?
- ✓Correct answer: A normalized
{ ids, entities }state with ready-made CRUD reducers helpers and selectors - 2An HTTP client for REST entities
- 3Automatic persistence to IndexedDB
Explanation
Normalized collections make updates by id cheap and avoid duplicate items. sortComparer keeps ids ordered.