Mohammad-Ali A'râbi
How to Create New RxJS Operators
#1about 5 minutes
The history and evolution of ReactiveX and RxJS
ReactiveX originated at Microsoft to simplify concurrent programming and evolved into libraries like RxJava at Netflix and the widely used RxJS.
#2about 4 minutes
How pipeable operators changed the RxJS API
RxJS version 5.5 introduced the pipe function, decoupling operators from the observable object and enabling developers to create their own.
#3about 5 minutes
Addressing the challenge of long, unreadable pipelines
Using RxJS extensively in a Node.js backend led to long, unreadable pipelines, which were improved by extracting logic into named functions.
#4about 4 minutes
Preserving state in pipelines using tuples and zip operators
The flatZipMap operator was created to solve the problem of losing access to previous values in a stream by pairing results into a tuple.
#5about 6 minutes
Implementing custom operators with TypeScript generics
Creating a custom operator involves defining a function that returns an OperatorFunction with specific input and output types using TypeScript generics.
#6about 6 minutes
Advanced typing for complex custom operators
Complex operators like flatListFlatMap demonstrate how advanced TypeScript features like ObservableInput and ObservedValueOf are essential for correct type inference.
#7about 28 minutes
Q&A on testing, pitfalls, and contributing
The Q&A session covers unit testing custom operators, handling errors, key differences with RxJava, and how to contribute to open-source RxJS libraries.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
24:48 MIN
Live demonstrations of text manipulation APIs
aa
01:50 MIN
Create custom RxJS operators for cleaner data streams
Angular tips/tricks you can use from tomorrow on
00:05 MIN
Understanding the core concept of operators as wrappers
Observables in Plain terms
00:16 MIN
Developing a reactive mindset for RxJS
Practice makes perfect - when it comes to RxJS
05:32 MIN
Exploring the core principles of reactive programming
Rethinking Reactive Architectures with GraphQL
28:24 MIN
New animation and composition operators in RxJS 7
Practice makes perfect - when it comes to RxJS
07:43 MIN
Live demo of the operator wrapper model
Observables in Plain terms
47:15 MIN
Recommended resources for learning RxJS
Observables in Plain terms
Featured Partners
Related Videos
Practice makes perfect - when it comes to RxJS
Jan-Niklas Wortmann
Observables in Plain terms
Georgi Parlakov
NgRx Tips for Future-Proof Angular Apps
Marko Stanimirović
Angular Signals: what's all the fuss about?
Daniela Bonvini
Hello generics, goodbye boilerplate!
Miroslav Jonaš
Angular tips/tricks you can use from tomorrow on
Benedikt Starzengruber
The Art and Craft of Type Development
Michael Hladky & Stefan Baumgartner
The Eventloop in JavaScript - How does it work?
Christian Woerz
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.





API / Integrations Engineer (TypeScript, Node.js, REST)
Twenty One Talents
Intermediate
Node.js
TypeScript




Proficient Software Engineer - Node - React - GraphQL
Atolls
Munich, Germany
NoSQL
Vue.js
NestJS
Node.js
GraphQL
+3