Добавить
Уведомления

Subject and BehaviorSubject | Components Communication using Subject - Angular (Tutorial 33)

Communication across the components can be easily done with the help of Subject using Service in Angular Application. In this video, I have explained how to pass data across components using RsJS Subject and BehaviorSubject using Service. Please watch my other video that I have created to explain the functionality of Subject and BehaviorSubject in RxJS, so that you can understand it easily in Angular. RxJS Subject: https://youtu.be/DWLJegTWVxM RxJS BehaviorSubject : https://youtu.be/G1vcm53pt0M We have used @Input and @output decorator when data need to pass from parent to child and vice a versa, But syncing your data across the components which don't have any parent-child relationship, there services are the solution. @Input Decorator: https://youtu.be/qC3P_Ye-jec @Output Decorator :https://youtu.be/Jglqd8Ve34g DON'T CLICK HERE: https://shorturl.at/AFGJT This code is available on github: https://github.com/nishaSingla/AngularTutorial.git This Book will help you to understand angular more: https://amzn.to/3f1nf9q I have used below FAKE API in demo to illustrate the Subject: https://jsonplaceholder.typicode.com/users ►Subscribe Now: https://www.youtube.com/nishasingla ? Stay updated! Watch complete playlist here: https://www.youtube.com/watch?v=WSu-G0gk3Ks&list=PLC8OkhrVTHNHi6Do0etu_wMvAvjdjukQp Follow us on: Facebook: https://www.facebook.com/AngularJS4Beginners LinkedIn: https://www.linkedin.com/in/nisha-singla-82407aa0/ Instagram: https://www.instagram.com/passion4code/

Иконка канала Все о CSS
20 подписчиков
12+
14 просмотров
2 года назад
27 ноября 2023 г.
12+
14 просмотров
2 года назад
27 ноября 2023 г.

Communication across the components can be easily done with the help of Subject using Service in Angular Application. In this video, I have explained how to pass data across components using RsJS Subject and BehaviorSubject using Service. Please watch my other video that I have created to explain the functionality of Subject and BehaviorSubject in RxJS, so that you can understand it easily in Angular. RxJS Subject: https://youtu.be/DWLJegTWVxM RxJS BehaviorSubject : https://youtu.be/G1vcm53pt0M We have used @Input and @output decorator when data need to pass from parent to child and vice a versa, But syncing your data across the components which don't have any parent-child relationship, there services are the solution. @Input Decorator: https://youtu.be/qC3P_Ye-jec @Output Decorator :https://youtu.be/Jglqd8Ve34g DON'T CLICK HERE: https://shorturl.at/AFGJT This code is available on github: https://github.com/nishaSingla/AngularTutorial.git This Book will help you to understand angular more: https://amzn.to/3f1nf9q I have used below FAKE API in demo to illustrate the Subject: https://jsonplaceholder.typicode.com/users ►Subscribe Now: https://www.youtube.com/nishasingla ? Stay updated! Watch complete playlist here: https://www.youtube.com/watch?v=WSu-G0gk3Ks&list=PLC8OkhrVTHNHi6Do0etu_wMvAvjdjukQp Follow us on: Facebook: https://www.facebook.com/AngularJS4Beginners LinkedIn: https://www.linkedin.com/in/nisha-singla-82407aa0/ Instagram: https://www.instagram.com/passion4code/

, чтобы оставлять комментарии