I'm currently exploring the distinctions between linkedSignal and computed within Angular's Signals system, and considering reasons why linkedSignal might be preferred in specific circumstances.
For instance, when dealing with a selectedOption that relies on shippingOptions, why would one not utilize computed as shown below:
const shippingOptions = signal(['Ground', 'Air', 'Sea']);
const selectedOption = computed(() => shippingOptions()[0]);
What advantages does linkedSignal offer in situations like these?
While I haven't tested this yet, I am delving into the fundamental variances between linkedSignal and computed. As far as my current understanding goes, computed seems suitable for managing dependent state. The question remains: why is linkedSignal considered the superior choice in Angular's Signals framework?