F

Fox Root • 490 Points
Goal Maker

Q. In Angular, which RxJS class is commonly used in service-based state management?

  • (A) Observable
  • (B) Subject
  • (C) BehaviorSubject
  • (D) ReplaySubject
  • Correct Answer - Option(C)
  • Views: 1
  • Filed under category NgRx Store
  • Hashtags:

Explanation by: Fox Root
BehaviorSubject stores the latest value and immediately emits it to new subscribers, making it suitable for state sharing via services.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.