rangle/ngCourse2

Update - Observables

AbdellaToronto opened this issue · 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

  • Change Http to HttpClient

Observables Array Operations

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)