Question: what is the difference between subject and behaviorsubject in rxjs?
Answer: 5 Answers. A BehaviorSubject holds one value. When it is subscribed it emits the value immediately. A Subject doesn't hold a value.