Tomas Trajan Profile picture
๐Ÿ‘‹ I build, teach, write & speak about #Angular & #NgRx for enterprises ๐Ÿ‘จโ€๐Ÿ’ป๏ธ Google Developer Expert #GDE ๐Ÿ‘จโ€๐Ÿซ๏ธ @AngularZurich meetup co-organizer
Mar 22, 2023 โ€ข 6 tweets โ€ข 3 min read
๐Ÿ…ฐ๏ธ #Angular signals ๐Ÿ“ก are all the hype and for a good reason!

As with every new thing, it will take time to learn how it works, so there are many misconceptions like...

๐Ÿค” Angular signals will make #RxJs obsolete

Let's build a better understanding to find an answer!

๐Ÿงต 1/4 The most important difference is that

๐Ÿ“ก signals are SYNC, good for
โœ… derived state (vs ngOnChanges)
โœ… local component reactive state, eg inputs

๐Ÿ” #RxJs is used for ASYNC (can be sync)
โœ… async orchestration
โœ… latest response (race conditions)
โœ… cancelation (perf)

๐Ÿงต 2/4