F

Fox Root • 490 Points
Goal Maker

Q. Why should reducers not contain API calls?

  • (A) Angular restriction
  • (B) Reducers must remain pure functions
  • (C) Performance issue only
  • (D) Selectors handle API
  • Correct Answer - Option(B)
  • Views: 1
  • Filed under category NgRx Store
  • Hashtags:

Explanation by: Fox Root
Reducers cannot have side effects like HTTP calls.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.