24 questions for “RxJS & Observables”

Found in 1 field. Select a question to see its full answer.

Information Technology

24 questions in 1 technology

#QuestionTechnologyTopicLevel
1What is an observable in RxJS, and how is it different from a promise? Angular › RxJS & ObservablesAngularRxJS & ObservablesBeginner
2What do the map, filter, and switchMap RxJS operators do, and when would you use each? Angular › RxJS & ObservablesAngularRxJS & ObservablesIntermediate
3What is the difference between a Subject, a BehaviorSubject, and a ReplaySubject in RxJS? Angular › RxJS & ObservablesAngularRxJS & ObservablesIntermediate
4Why is it important to unsubscribe from an RxJS observable, and what are common ways to do this correctly in Angular? Angular › RxJS & ObservablesAngularRxJS & ObservablesIntermediate
5How would you combine two or more observables together, such as combining a user's search term and a selected filter category? Angular › RxJS & ObservablesAngularRxJS & ObservablesAdvanced
6Why did Angular introduce signals, given that RxJS observables already existed for managing changing values? Angular › Angular SignalsAngularAngular SignalsBeginner
7How do signals simplify state management compared to relying entirely on RxJS observables? Angular › State ManagementAngularState ManagementIntermediate
8How does the async pipe simplify working with observables directly in an Angular template? Angular › Pipes (Built-in & Custom)AngularPipes (Built-in & Custom)Intermediate
9What is a Layout module in the Angular CDK used for? Angular › Angular CDK (Component Dev Kit)AngularAngular CDK (Component Dev Kit)Beginner
10How do you make a basic GET request to a server using Angular's HttpClient? Angular › HTTP Client & InterceptorsAngularHTTP Client & InterceptorsBeginner