ngCourse2 icon indicating copy to clipboard operation
ngCourse2 copied to clipboard

Update - Observables

Open AbdellaToronto opened this issue 3 years ago • 0 comments

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

  • [x] Change Http to HttpClient

Observables Array Operations

  • [x] Doesn’t explain what flatMap does
  • [x] RxJS API link could be updated to https://rxjs.dev/api

Cold vs Hot Observables

  • [ ] Link the Hot Observable example
  • [x] 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)

AbdellaToronto avatar Apr 04 '21 19:04 AbdellaToronto