SIGNALS can make Angular "REACTIVE" forms more reactive

Опубликовано: 31 Январь 2024
на канале: Joshua Morony
17,162
410

My Angular course: https://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: https://github.com/joshuamorony/signa...
More on signalSlice:    • I tried to build my dream (simple) st...  

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 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: https://modernangular.com
Follow me on Twitter:   / joshuamorony