Reactive Patterns with RxJS and Angular Signals : Elevate your Angular 18 applications with RxJS Observables, subjects, operators, and Angular Signals
, Second Edition
Use practical reactive patterns in your Angular apps to improve the quality and performance of your code
Learn performance optimization techniques from a Google Developer Expert for Angular
Seamlessly integrate RxJS with Angular features such as components and services
Purchase of the print or Kindle book includes a free PDF eBook
Description
RxJS is a powerful reactive extension for JavaScript, specializing in asynchronous and event-driven programming, but you don’t find many books on using RxJS in Angular applications. Written by an industry expert with over a decade of experience, this book helps you navigate reactive patterns, efficient data management, and the streamlined implementation of common features with minimal code.
This second edition aligns with the latest version of Angular, introducing new reactive patterns based on Angular Signals, which play a pivotal role in enabling fine-grained reactivity within Angular and enhancing change detection and user interface rendering. Throughout the book, you’ll construct a complete application that incorporates the latest Angular features, such as standalone components, new built-in control flow, deferrable views, and more. You’ll also focus on cultivating skills to handle data reactively, thus improving the application's overall quality, user experience, and developer productivity. The book covers best practices for testing asynchronous streams and optimizing app performance.
By the end of this RxJS and Angular book, you’ll not only be able to develop Angular applications by implementing reactive patterns, but also grasp all the best practices, ensuring a well-rounded understanding of RxJS within the Angular framework.
Who is this book for?
If you're a developer working with Angular and RxJS, this book is for you. Designed for anyone at a beginner level in both Angular and RxJS, this book will help you gain experience and harness the potential of RxJS or benefit you if you’re looking to leverage the reactive paradigm within your Angular applications. This book assumes some familiarity with Angular, basic RxJS, and TypeScript, as well as foundational knowledge of functional programming.
What you will learn
Get to grips with RxJS core concepts such as Observables, subjects, and operators
Use the marble diagram in reactive patterns
Delve into stream manipulation, including transforming and combining them
Understand memory leak problems using RxJS and best practices to avoid them
Build reactive patterns using Angular Signals and RxJS
Explore different testing strategies for RxJS apps
Discover multicasting in RxJS and how it can resolve complex problems
Build a complete Angular app reactively using the latest features of RxJS and Angular
This book is a must have for those looking to expand their knowledge of reactive patterns in angular. Book is full of examples that makes it easy to follow along and learn new techniques. Thanks for providing this awesome book, I'm looking foward to more great content from this Author/Authors.
Amazon Verified review
Ricardo MartinezAug 07, 2024
5
But as the text comments, it's not for beginners. Coupled with the hindrance that the Kindle edition has some code errors that have not aided the comprehension on my first reading which I as a non angular nor rxjs expert suffered ...But 2 weeks later and some RxJS angular programming in between have allowed me to really enjoy and value the book
Amazon Verified review
Amazon CustomerJul 30, 2024
5
Like many people in their continuing learning journey with Angular, appreciation of reactivity comes with time. I was thrown off the deep end into Angular as my first JS frontend framework in college and internships, only using what RXJS I could grab ahold of. Only relatively recent in my job I have taken steps to learn reactivity in a structured way, and this book is a great piece of that foundation. Experienced with Angular or not, this book is as good of an introduction as it is a refresher.Straight to the point, the recipes CRUD app that is built (with repository for reference for each chapter) is a good talking point for the varying aspects of reactivity. A variety of async calls and events for highlighting RXJS, and assorted synchronous state for reference with signals. The preconfigured local server that accompanies the project was especially nice, so I could focus purely on the frontend and how it alone can shape what comes from and is sent to the backend. I think overall, if you work with a lot of API calls like I do, this book covers most scenarios I could think of. Case in point: had I read this before my previous sprint, I wouldn't have wasted so much time handling errors incorrectly around `forkJoin`.As cliche as it sounds, I would say this book is good whether you are a beginner or experienced with approaching reactivity in Angular. Beginners, take your time following the example project and messing around with it as you go. And experienced folks, read along and think "wow, I learned this lesson the hard way. I wish I had this book before." And for both groups, keep your copy bookmarked and on the ready.
Amazon Verified review
Joel KotarskiJul 29, 2024
4
Lamis Chebbi has put together an exceptional book that intriguingly guides those who may have little to no experience or much experience with RxJS, Angular, and/or Angular Signals and somehow is able to address and teach each of these target audiences effectively. I've been a technical development editor and book reviewer for many books over the years but wanted to call this book out specifically - Lamis' writing and teaching style is conversational and easy to follow while also quite powerful in terms of equipping the reader to do good things. This is a testament not only to the technology but also how it is described. The book covers a lot of ground and each topic is addressed well.This book of course would most easily meet its match for readers who are actively looking to adopt Angular 17+ and using the power of built-in support for RxJS as well as using Angular Signals in a project; however, I'd also suggest it might be a useful book for anyone seeking to understand the power of the reactive approach and how it makes code more powerful especially when built into any framework. So learning about how Angular has embodied RxJS in many of its core components and introduced a reactive primitive in Angular Signals can be a whirlwind tour this book provides (and may just persuade the reader to adopt Angular in projects).I only have some minor points for improvement: the setup steps in the book seem to follow a best case scenario which might leave some readers stranded on getting the examples to work. It seems there is some inconsistency between the book text and the Github repository (for instance, port numbers were wrong in chapter 3 - digging through the config files I was able to sort out what was wrong). There also seems to be a few spacing issues in the main book's example code - a point acknowledged in the intro but certainly could be fixable in a future edition.All in all, a superb book that I highly recommend.
Amazon Verified review
Manfred S.Jul 19, 2024
5
Ich war bereits ein Fan von der 1. Auflage: Reaktive Programming ist für viele Entwickler:innen ein Paradigmenwechsel und deswegen kann das Thema recht ansprungsvoll sein. Genau aus diesem Grund bin ich ein Fan von Lamis' Didaktik: Für jedes Thema gibt es praktische Beispiele, die mit reaktiven Mustern bestimmte Probleme lösen. Man sieht also sofort, wozu das ganz gut ist.Daneben deckt die neue 2. Auflage nun auch Signals und das Zusammenspiel mit RxJS ab. Außerdem geht es auch auf den neuen data-flow in Angular ein.Ein Must-Have für alle Angular-Entwickler:innen!
Amazon Verified review
Previous
1
2
Next
About the author
Lamis Chebbi
Lamis Chebbi
Lamis Chebbi is a Google Developer Expert for Angular. She is the author of “Reactive Patterns with RxJS for Angular”. She is an enthusiastic software engineer with a strong passion for the modern web. She's the founder of Angular Tunisia, a member of the WWCode community, a speaker, a content creator, and a trainer. She has been into Angular for the past few years and loves to share her knowledge about Angular through participating in workshops and organizing training sessions. Empowering women and students is one of her highest priorities. Besides Angular and the web, Lamis loves music, traveling, chromotherapy, and volunteering. Last but not least, she's a forever student.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.