Implement the `map` Operator from Scratch in RxJS

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

While it's great to use the RxJS built-in operators, it's also important to realize you now have the knowledge to write them by yourself if needed. The map operator turns out to be a simple MapSubscriber which takes a function and applies it to the value passed to next.