Angular · Middle · Question 70 of 75

What does toSignal(obs$, { initialValue: [] }) change compared to toSignal(obs$)?

Explanation

For Observables that emit synchronously (like a BehaviorSubject), requireSync: true removes undefined without an initial value.

Further reading

Problem with a question

Angular · Middle · question 70

Test yourself

Take the Angular · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz