I'm asking for opinions about my use-case.
very simplified example:
@Input() parentComponent;
childSignal = computed(() => this.parentComponent.parentSignal());
This code will throw runtime error because parentComponent
is undefined when signal gets computed for the first time.
Now what would be your way? Initializing signal in ngOnChanges
?