F

Fox Root • 490 Points
Goal Maker

Q. After successful API response in login effect, what should happen next?

  • (A) Modify state directly
  • (B) Dispatch Success Action
  • (C) Reload page
  • (D) Call component method
  • Correct Answer - Option(B)
  • Views: 1
  • Filed under category NgRx Store
  • Hashtags:

Explanation by: Fox Root
Effects must dispatch a success action which will be handled by reducer to update state.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.