In the last lecture we learned about subjects and understood how the subjects are different from an observable. Now when we create a subject, we cannot set an initial state for that subject. This is where behavior subject comes into picture.
A behavior subject is a type of subject which can have an initial value when we create it. Let's learn about behavior subject in this lecture.
DOWNLOAD STARTUP PROJECT FROM HERE: https://github.com/manojjha86/angular-16-complete-course/tree/main/09-angular-rxjs-and-observables/start
DOWNLOAD FINAL PROJECT FROM HERE: https://github.com/manojjha86/angular-16-complete-course/tree/main/09-angular-rxjs-and-observables/final
ASP.NET Core GitHub Repo: https://github.com/manojjha86/ASP.NET-Core-mvc
NODE JS Course GitHub Repo: https://github.com/manojjha86/NODE-JS
ANGULAR 16 Course GitHub Repo: https://github.com/manojjha86/angular-16-complete-course