Reactive Patterns with RxJS and Angular Signals

by Lamis Chebbi

Programming

Book Details

Book Title

Reactive Patterns with RxJS and Angular Signals

Author

Lamis Chebbi

Publisher

Packt Publishing

Publication Date

2024

ISBN

9781835087701

Number of Pages

255

Language

English

Format

PDF

File Size

2.9MB

Subject

reactive angular ; javascript frameworks

Table of Contents

  • Cover
  • Title Page
  • Copyright and Credits
  • Dedication
  • Foreword
  • Contributors
  • Table of Contents
  • Preface
  • Part 1: An Introduction to the Reactive World
  • Chapter 1: Diving into the Reactive Paradigm
  • Technical requirements
  • Exploring the pillars of reactive programming
  • Learning about the marble diagram (our secret weapon)
  • Highlighting the use of RxJS in Angular
  • Summary
  • Chapter 2: Walking through Our Application
  • Technical requirements
  • Breaking down our app’s interfaces
  • Reviewing our app’s architecture
  • Reviewing our app’s components
  • Summary
  • Part 2: A Trip into Reactive Patterns
  • Chapter 3: Fetching Data as Streams
  • Technical requirements
  • Defining the data fetch requirement
  • Exploring the classic pattern for fetching data
  • Exploring the reactive pattern for fetching data
  • Highlighting the advantages of the reactive pattern
  • Diving into the built-in control flow in Angular 17
  • Summary
  • Chapter 4: Handling Errors Reactively
  • Technical requirements
  • Understanding the anatomy of an Observable contract
  • Exploring error handling patterns and strategies
  • Handling errors in our recipe app
  • Summary
  • Chapter 5: Combining Streams
  • Technical requirements
  • Defining the filtering requirement
  • Exploring the imperative pattern for filtering data
  • Exploring the declarative pattern for filtering data
  • Highlighting common pitfalls and best practices
  • Summary
  • Chapter 6: Transforming Streams
  • Technical requirements
  • Defining the autosave requirement
  • Exploring the imperative pattern for the autosave feature
  • Exploring the reactive pattern for the autosave feature
  • Summary
  • Chapter 7: Sharing Data between Angular Components
  • Technical requirements
  • Defining the sharing data requirement
  • Exploring the reactive pattern to share data
  • Leveraging Deferrable Views in Angular 17
  • Summary
  • Part 3: The Power of Angular Signals
  • Chapter 8: Mastering Reactivity with Angular Signals
  • Technical requirements
  • Understanding the motivation behind Signals
  • Unveiling the Signal API
  • Unlocking the power of RxJS and Angular Signals
  • Integrating Signals into our recipe app
  • Exploring reactive data binding with Signals
  • Summary
  • Part 4: Multicasting Adventures
  • Chapter 9: Demystifying Multicasting
  • Technical requirements
  • Explaining multicasting versus unicasting
  • Exploring RxJS subjects
  • Highlighting the advantages of multicasting
  • Summary
  • Chapter 10: Boosting Performance with Reactive Caching
  • Technical requirements
  • Defining the caching requirement
  • Exploring the reactive pattern to cache streams
  • Highlighting the use of caching for side effects
  • Summary
  • Chapter 11: Performing Bulk Operations
  • Technical requirements
  • Defining the bulk operation requirements
  • Learning the reactive pattern for bulk operations
  • Learning the reactive pattern for tracking the bulk operation’s progress
  • Summary
  • Chapter 12: Processing Real-Time Updates
  • Technical requirements
  • Defining the requirements of real time
  • Learning the reactive pattern for consuming real-time messages
  • Learning the reactive pattern for handling reconnection
  • Summary
  • Part 5: Final Touches
  • Chapter 13: Testing RxJS Observables
  • Technical requirements
  • Learning about the subscribe and assert pattern
  • Learning about the marble testing pattern
  • Highlighting testing streams using HttpClientTestingModule
  • Summary
  • Index
  • Other Books You May Enjoy