Skip to content

Subject.asObservable() should be changed to Subject.hide() #42

@yitz-grocerkey

Description

@yitz-grocerkey

In Part 3 in the Encapsulating With asObservable section you use asObservable() which is no longer used.

See What's different in 2.0 specifically in the Instance methods section where it says that

asObservable renamed to hide(), hides all identities now

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions