Why do we use BehaviorSubject?

Behavior Subject is a part of the RxJs library and is used for cross component communications . We can send data from one component to other components using Behavior Subject. In Behavior Subject we can set the initial value .

Sizin İçin Seçtik  What is RxJS and use of this?

Leave a Reply

Your email address will not be published. Required fields are marked *