Angular · Senior · Question 38 of 75

What is an NgRx effect?

Explanation

Effects keep reducers pure. A typical one: loadUsers → switchMap to the API → loadUsersSuccess or loadUsersFailure, choosing the flattening operator deliberately.

Further reading

Problem with a question

Angular · Senior · question 38

Test yourself

Take the Angular · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz