All quizzes
Free quiz · 21 questions in the bank

NgRx quiz

Test your NgRx knowledge with a free interactive quiz — 21 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

What is `createFeature` used for in modern NgRx?

Questions in this quiz
  1. What is `createFeature` used for in modern NgRx?
  2. How does `@ngrx/store-devtools` help during development?
  3. Why would a large list of records typically be stored "normalized" (as an ids array plus an entities lookup dictionary) rather than as a plain array in the store?
  4. Why must NgRx state updates be immutable (returning a new object) rather than mutating the existing state?
  5. What does the `async` pipe do when used with an NgRx-backed observable in an Angular template, e.g. `items$ | async`?
  6. When is reaching for the full NgRx Store (actions/reducers/effects/selectors) generally the right call, versus using component-local state or a service with a simple `BehaviorSubject`?
  7. What is a common criticism of the classic NgRx (actions + reducers + effects) pattern?
  8. What is the single source of truth in an NgRx application?
  9. In a typical NgRx Effect for loading data, what is the usual action sequence?
  10. Why is it considered a bad practice for an NgRx reducer to call an HTTP service directly?
  11. What does dispatching an action actually do, mechanically, in NgRx?
  12. What is an NgRx "action"?
Gaps to close?
Read the curated NgRx notes — core concepts, patterns, interview prep.
NgRx notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web