Now, if you use an *angular service* as a store, the async process is the
same, you will just feed
store.customer
instead of only
customer
locally in your component.
And in your template you will use
{{store.customer?.name}}
directly, so a change of this will be instantly and natively propagated to
all the component imorting the store.
Redux is usefull when coding React, but it is a very bad pratice with
Angular that embeds already natively such stores, as services, fully
two-way data binding.
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/4d3c4b88-799e-4606-97f8-c3232573bb1b%40googlegroups.com.