Tagged: Angular 4/5 communicate between two Components

Angular how to communicate between two Components by using Observable & Subject 0

Angular how to communicate between two Components by using Observable & Subject

In Angular, you can facilitate communication between two components using the Observable and Subject classes from the RxJS library. This approach is commonly known as the Observer pattern or the Publish-Subscribe pattern. Here’s an...