rxjs-docs
rxjs-docs copied to clipboard
Getting Started Guide for Angular users
Have at it all - feel free to suggest ideas and let's get something going.
As a start for this discussion, I'll share with you what I needed to learn on my first journey using RxJs with Angular:
- Using Http Module I needed to know how to issue an Http request and bind the result to the UI without using Promise pattern.
- How to merge the results of two requests: for example getting an id from a request then use this id in another request to get the data to be shown in the UI
- How to use a Subject correctly to share a state change between several angular components
- What to choose, behaviorSubject or subject
- Managing UI events using RxJs
- Design patterns related to these problems That is what I can recall right now. I'll add more if I remember anything else in this regard
@mustafamg all these sound lovely. i'm sure @btroncone and @benlesh may have comments on this, but please feel free to get started! all sounds awesome so far.
Okay, I'll create issues for these suggestions and start working on them :)
Lovely!
Thanks @mustafamg, this is a great start! I would probably touch on observable forms and routing API's as well since they are so commonly used.
Can't wait to see what you come up with! 👍
@mustafamg - This is amazing !
@mustafamg @btroncone - There is an issue #55 to create real world examples. Just want to make sure how do we separate getting started and real world examples or just go with getting started guide and add a section within the getting started guide as real world examples.
I think having a section for an angular full example is a good idea. I only want to add that the guidance is similar to a getting started section of any new tool. It does not get depth in describing how to do the same thing using different methods. I think it should just provide a simple introduction to how to use Reactive related concept or operator to achieve that very specific goal such as "declaratively use HttpModule to define requests and showing the results on the UI". It should not include how to use it through stateless service for example. A reference to a blog post can be used for further readings.
@mustafamg I think we should target AngularCLI for starting & also an article without the CLI for those without it, But all examples in the CLI should work in other angular environments. But I think the CLI is easier to get started with. I'd definitely like to collaborate with you. Preferably tackling low hanging fruit of this task.
@lordKnighton great spirit, you are welcome. I need to mention something here, our target is not to make a tutorial of how to use angular. Our aim is a guidance of using RxJs concepts while developing an angular application. So in scope: How to return observable to the UI instead of converting to promises Out of scope: How to start a new angular application