DEV Community 👩‍💻👨‍💻


Posted on

Explain RxJS Like I'm Five

Top comments (4)

lexlohr profile image
Alex Lohr • Edited on

You have a pipe that lets you run values through it, one at a time, but at any given time. You can push things through it ( at one end and have one or more watcher function look at them on the other end (observable.subscribe(watcher)).

That single pipe alone is not very powerful, but a) you can have as many of these as you want and b) you also have other special pipes, called operators, which you can connect to this pipes in order to do much more powerful things with them, for example combine the stuff of multiple pipes, filter them, wait for things to fall in place and so on. Not to forget c), you also get functions to create those pipes from usual asynchronous actions, like events or Promises.

michalakadam profile image

Dude, you nailed it, thanks!

sagar profile image

I'm too late to send comment but below article will help you.

federhico profile image

is like x-ray and javascript but shortest

Every Week

We have a Welcome Thread where we invite members to tell us a bit about themselves. Join the conversation with us!