Alain Chautard
Jan 18, 2024

--

Good question! That's actually the key difference; Component store is meant to be local for one component where as signal store is global. In my example above, two different components are using the CurrencyStore defined as a global service.

--

--

Alain Chautard
Alain Chautard

Written by Alain Chautard

Google Developer Expert in Angular, Consultant and Trainer at http://www.angulartraining.com

No responses yet