DEV Community

Discussion on: Initialise BehavorSubject correctly

Collapse
 
kildareflare profile image
Rich Field

Hey @nyagarcia , you seem to know your RxJS pretty well.
Do you know why the initial value for the BehaviorSubject is important?
I.e. why it's important it starts as an array and not undefined?