πŸ“Š Angular
Q. Which service is used to pass data between components that do not have a parent-child relationship?
  • (A) Shared service with RxJS Subjects or BehaviorSubjects
  • (B) @Input and @Output decorators
  • (C) Router parameters
  • (D) Direct DOM manipulation
πŸ’¬ Discuss
βœ… Correct Answer: (A) Shared service with RxJS Subjects or BehaviorSubjects

Explanation: Shared services using RxJS allow components to communicate without direct relation.

Explanation by: Mr. Dubey
Shared services using RxJS allow components to communicate without direct relation.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
36
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate