Upon building a component, I encountered an issue with returning a property containing an observable. While I was able to successfully display the property in the template, I realized that its presence there was unnecessary:
{{(selectedOrder$ | async).orderNumber}}
The above code effectively displayed the order number in the template.
In an attempt to resolve this, I experimented with the following approach:
this.selectedOrder$.pipe(select(order=> {
this.selectedOrderNumber$ = order.orderNumber;
}));
However, upon launching my application, this resulted in a 404 error, strikingly unexpected.