RxJS Cookbook for Reactive Programming: Discover 40+ real-world solutions for building async, event-driven web apps

· Packt Publishing Ltd
Ebook
310
Pages

About this ebook

Build scalable, efficient applications with seamless async data handling and blazing-fast user experience by unleashing reactive programming with AngularKey Features
  • Master RxJS observables, operators, and subjects to improve your reactive programming skills
  • Explore advanced concepts like error handling, state management, PWA, real-time, and event-driven systems
  • Enhance reactive skills with modern web programming techniques, best practices, and real-world examples
  • Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionBuilding modern web applications that are responsive and resilient is essential in this rapidly evolving digital world. Imagine effortlessly managing complex data streams and creating seamless user experiences—this book helps you do just that by adopting RxJS to boost your development skills and transform your approach to reactive programming. Written by a seasoned software engineer and consultant with a decade of industry experience, this book equips you to harness the power of RxJS techniques, patterns, and operators tailored for real-world scenarios. Each chapter is filled with practical recipes designed to tackle a variety of challenges, from managing side effects and ensuring error resiliency in client applications to developing real-time chat applications and event-driven microservices. You’ll learn how to integrate RxJS with popular frameworks, such as Angular and NestJS, gaining insights into modern web development practices that enhance performance and interactivity. By the end of this book, you’ll have mastered reactive programming principles, the RxJS library, and working with Observables, while crafting code that reacts to changes in data and events in a declarative and asynchronous way.What you will learn
  • Manage error handling, side effects, and event orchestration in your Angular and NestJS applications
  • Use RxJS to build stunning, interactive user interfaces with Angular
  • Apply Angular testing strategies to ensure the reliability of your RxJS-powered applications
  • Optimize the performance of RxJS streams
  • Enhance progressive web app experiences with RxJS and Angular
  • Apply RxJS principles to build state management in Angular
  • Craft reactive and event-driven microservices in NestJS
Who this book is for

This book is ideal for intermediate-to-advanced JavaScript developers who want to adopt reactive programming principles using RxJS. Whether you’re working with Angular or NestJS, you’ll find recipes and real-world examples that help you leverage RxJS for managing asynchronous operations and reactive data flows across both your frontend and backend.

About the author

Nikola Mitrović is a seasoned software engineer and consultant with experience that spans nearly a decade, with technical expertise in micro-frontend architecture and web performance, as well as technologies such as Angular, React, Next.js, Node.js, NestJS, NX, and AWS. He is an enthusiastic public speaker and has presented at some of the world's largest tech conferences, sharing his passion for crafting exceptional web experiences. He has business domain expertise in EdTech, HealthTech, and Digital Identity. For the last couple of years, Nikola has been in leadership roles, inspiring a culture of technical excellence, continuous learning, collaboration, and psychological safety within the organization. He strongly believes in leading with empathy, honesty, and passion, empowering teams with trust and autonomy. Prior to this, Nikola was a partner, technical architect, and development lead at Vega IT, where he was recognized as the company's MVP for three consecutive years (2022-2024).

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.