Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
RxJS Cookbook for Reactive Programming

You're reading from   RxJS Cookbook for Reactive Programming Discover 40+ real-world solutions for building async, event-driven web apps

Arrow left icon
Product type Paperback
Published in Mar 2025
Publisher Packt
ISBN-13 9781788624053
Length 310 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Nikola Mitrović Nikola Mitrović
Author Profile Icon Nikola Mitrović
Nikola Mitrović
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Handling Errors and Side Effects in RxJS 2. Building User Interfaces with RxJS FREE CHAPTER 3. Understanding Reactive Animation Systems with RxJS 4. Testing RxJS Applications 5. Performance Optimizations with RxJS 6. Building Reactive State Management Systems with RxJS 7. Building Progressive Web Apps with RxJS 8. Building Offline-First Applications with RxJS 9. Going Real-Time with RxJS 10. Building Reactive NestJS Microservices with RxJS 11. Index
12. Other Books You May Enjoy

To get the most out of this book

You should be experienced with JavaScript and web concepts in general. It would be good to have experience with frameworks and libraries such as Angular and NestJS on the server side. It would be an advantage to have strong fundamentals in the asynchronous programming area, functional programming, and reactive programming basics. You will get the most out of this book if you are already familiar with core RxJS concepts such as Observer and Iterator patterns, Observables, Subscriptions, operators, Subjects, and Schedulers.

Software/hardware covered in the book

Operating system requirements

RxJS v7

Windows, macOS, or Linux

Angular v19+

Node.js v22+

npm v11+

pnpm v10+

NestJS v11+

In Chapter 10, you will need to run a local Kafka server for one of the recipes. You can find detailed information on this in the Kafka documentation https://kafka.apache.org/quickstart.

Note

This book does not use Angular’s Resource API, as it was still in the experimental phase at the time of publication.

If you are using the digital version of this book, we advise you to type the code yourself or access the code from the book’s GitHub repository (a link is available in the next section). Doing so will help you avoid any potential errors related to the copying and pasting of code.

Download the example code files

You can download the example code files for this book from GitHub at https://github.com/PacktPublishing/RxJS-Cookbook-for-Reactive-Programming/tree/main. If there’s an update to the code, it will be updated in the GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Conventions used

There are a number of text conventions used throughout this book.

Code in text: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and X/Twitter handles. Here is an example: “Notice one more important change from the previous example with distinctUntilChange.”

A block of code is set as follows:

combineLatest({
    searchName: searchNameInputValue$,  
    searchIngredient: searchIngredientInputValue$
}

Any command-line input or output is written as follows:

npm run build && http-server ${build-location} -c-1 –o

Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “RxJS marble diagrams are a powerful tool for visualizing and understanding the behavior of Observables and operators in reactive programming.”

Tips or important notes

Appear like this.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime