Thanks for the explanation, Yong Shun. That clears things up. I was also under the impression that ngOnInit
I would have the @Input()
values are ready, but it makes sense now why it's still null
at that point. I'll try using ngOnChanges
or AfterViewInit
Depending on the use case. The mention of Angular Signals is interesting too, I hadn't explored that yet. Appreciate the insights!