Don't use effects/don't subscribe (it's the same advice)

Channel:
Subscribers:
81,900
Published on ● Video Link: https://www.youtube.com/watch?v=IAmWwbKF2Ec



Duration: 0:00
14,731 views
503


My Angular course: https://angularstart.com/

Subscribing to an observable stream and using Angular's "effect" API both "break reactivity". This video discusses what exactly that means, why it's a good idea to avoid using effects, and when using an effect might actually make sense.

Tech Stack Nation with Alex Rickabaugh:    • Don't Use Effects 🚫  and What To Do In...  
More on when it is ok/not ok to subscribe:    • It's OK/NOT OK to subscribe in Angular  
Video on RxJS/Signals state management:    • My NEW default for state management i...  

Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076

Want to build mobile apps with Angular?: https://ionicstart.com/

0:00 Don't use effects?
0:43 subscribe = effect
1:35 Breaking reactivity
3:44 Avoid updating state
4:45 Breaking the rules

#angular #rxjs #signgals

More tutorials: https://modernangular.com/
Follow me on Twitter: https://twitter.com/joshuamorony