My Angular course: angularstart.com/
ReactiveForms in Angular are not actually all that reactive - unless we take a particularly loose definition of the word "reactive" to just mean that some kind of reactive mechanism like observables are used.
Most typical usage of ReactiveForms in Angular involves using a lot of imperative code and manual subscribes. This video explores using signalSlice as a way to make using ReactiveForms more reactive and declarative.
Source code: github.com/joshuamorony/signa...
More on signalSlice: • I tried to build my dr...
Get weekly content and tips exclusive to my newsletter: mobirony.ck.page/4a331b9076
Want to build mobile apps with Angular?: ionicstart.com
0:00 Introduction
0:54 Challenges with ReactiveForms
1:20 Using signalSlice for ReactiveForms
3:05 emitEvent
3:31 Comparison
4:12 Still imperative
4:51 The ultimate approach?
#angular #signals
- More tutorials: modernangular.com
- Follow me on Twitter: / joshuamorony
10 июн 2024