A

Admin • 832.27K Points
Coach

Q. How can you share data between sibling components in Angular?

  • (A) Using a shared service with RxJS Subject
  • (B) Using @Input and @Output decorators
  • (C) Using local variables only
  • (D) Direct DOM manipulation
  • Correct Answer - Option(A)
  • Views: 18
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

Shared services with observables enable communication between siblings.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.