Update - Observables
AbdellaToronto opened this issue · 0 comments
AbdellaToronto commented
Observables
- Split the paragraph in 2
Using Observables
- Some corrections needed to the sample code (init() should be ngOnInit())
- Description needs to be updated to match the sample code (ie. nothing is happening in the constructor())
- Split this page into 2 (or add a header to split the ideas: subscribing to Observable & the use of subscribe vs. forEach)
Error handling
- Should have a small explanation of .complete()
Disposing Subscriptions and Releasing Resources
- Paragraph about onUnsubscribe: is this valid?
- Mention unsubscribing when a component is destroyed
Observables vs Promises
- First bullet point: replace “example above” with “previous example”
Using Observables From other Sources
- Change Http to HttpClient
Observables Array Operations
- Doesn’t explain what flatMap does
- RxJS API link could be updated to https://rxjs.dev/api
Cold vs Hot Observables
- Link the Hot Observable example
- I don’t think the .connect() method exists anymore (need new Cold to Hot example?)
Summary
- Revisit link list
- Add a description for the list of links (there is no context)