F

Fox Root • 490 Points
Goal Maker

Q. In BehaviorSubject service, state update usually happens via:

Code:
this.userSubject.next(user);
  • (A) dispatch()
  • (B) setState()
  • (C) next()
  • (D) emit()
  • Correct Answer - Option(C)
  • Views: 1
  • Filed under category NgRx Store
  • Hashtags:

Explanation by: Fox Root
BehaviorSubject updates its value using the next() method.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.