Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Reactive Patterns with RxJS and Angular Signals
  • Table Of Contents Toc
Reactive Patterns with RxJS and Angular Signals

Reactive Patterns with RxJS and Angular Signals - Second Edition

By : Lamis Chebbi
4.8 (8)
close
close
Reactive Patterns with RxJS and Angular Signals

Reactive Patterns with RxJS and Angular Signals

4.8 (8)
By: Lamis Chebbi

Overview of this book

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.
Table of Contents (21 chapters)
close
close
Lock Free Chapter
1
Part 1:An Introduction to the Reactive World
4
Part 2: A Trip into Reactive Patterns
10
Part 3: The Power of Angular Signals
12
Part 4: Multicasting Adventures
17
Part 5: Final Touches

Sharing Data between Angular Components

Sharing data between components is a very common use case in web applications. Angular provides many approaches for communicating between parent and child components, such as the popular @Input() and @Output() decorator patterns. The @Input() decorator allows parent components to provide data to their child components, while the @Output() decorator allows the child component to send data to a parent component. That’s great, but when data needs to be shared between components that are either deeply nested or not immediately connected, those kinds of techniques become less efficient and difficult to maintain.

So, what’s the best way to share data between sibling components? This is the heart of this chapter. We will start by explaining the sharing data requirement, before walking through the different steps to implement the reactive pattern for sharing data between sibling components in our app. Finally, we will introduce Angular...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Reactive Patterns with RxJS and Angular Signals
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon