Learn how to take data from a network response and display it on the DOM using RxJS reactive event streams.
This course just lost me. Why would you want a stream of just one thing?
will it call api request each time we call createSuggestionStream?
Hi ! it would be nice to update this class to RxJS 6
This lesson is the one that shows its age the most; nowadays it's almost unthinkable to modify DOM by hand.
how does document.querySelector('.username')
selects precisely the needed element and not get confused?
how does document.querySelector('.username') selects precisely the needed element and not get confused?
querySelector is a browser api and not RxJS. Here is a good document that should tell you what you want to know: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector