You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Deborah, firstly thank you for another fabulous course.
I just wanted to query exposing writable signals from a service, for example selectedProductId in the product service. It feels this would be best fully encapsulated within the service:
Hi Deborah, firstly thank you for another fabulous course.
I just wanted to query exposing writable signals from a service, for example selectedProductId in the product service. It feels this would be best fully encapsulated within the service:
`private _selectedProductId = signal<number | undefined>(undefined);
readonly selectedProductId = this._selectedProductId.asReadonly();`
Thanks again for all you contributions
The text was updated successfully, but these errors were encountered: