As an Angular developer, you must have written something like below:
this.data$ = new BehaviorSubject
From an Angular developer's perspective, the above code is beginning to transfer data between two unrelated or hierarchical components.
Usually, to transfer data, different state management techniques are used. However, we can still use simple RxJS Subjects for the same purpose. So mastering RxJS Subject helps you to write a simple service for the same purpose of data transfer and state management.
By definition, a Subject is a multicast observable, which is an observer also. By the end of this live coding-based talk, you will learn,
1. How subject is different from observable
2. What are the different types of subjects
3. When to use which type
The talk will contain no slides, and we will explore all concepts using live coding.
Sign up to receive updates about NG Poland, including workshops, speaker previews, ticket launches, NG Awards, Behind the Code Magazine, CFP details and other exclusive content. We won’t spam you and will only send you emails we genuinely think you’ll find interesting. You can unsubscribe at any time and you can find more information here.