Customize Effects from the Main Function

InstructorAndré Staltz

Share this video with your friends

Send Tweet

How can we show one string on the DOM, and a completely different string on Console log? This lesson shows how we can make our main function return multiple Observables, each one targeted at a different type of effect.

Rasmus
~ 7 years ago

Andre, thanks for all your work. A quick comment to one of your first lines:

"Both of these show the same stream" really threw me. Coming from a Rxjs background, they don't. It took me a while to realize xstream is hot-only. Suggestion: Throw in a line about this difference between xstream and rxjs.