Tomas Trajan
1 min readMar 13, 2019

--

Hi Jonas!

My response was mostly focused on what you described by the following…

Calculating derived state in the getter can make indeed a big performance difference. This must be avoided. This could be a limiting factor for some projects …

That’s was main point. I was not advising against Default change detection strategy at all. Just that when people use getters to get state from services this can and usually quickly lead to logic in getters and that causes problems in any nontrivial app ;)

Cheers!

Tomas

--

--

Tomas Trajan
Tomas Trajan

Written by Tomas Trajan

👋 I build, teach, write & speak about #Angular & #NgRx for enterprises 👨‍💻 Google Developer Expert #GDE 👨‍🏫 @AngularZurich meetup co-organizer

No responses yet