WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Update - Observables #946

@AbdellaToronto

Description

@AbdellaToronto

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Spring 2021 WorkUpdate - 2021Updates current content in book during the 2021 update, for example, on out of date info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions