Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Do Not Invoke Getters Implicitly - Hide it behind explicit UI #775

@sebmarkbage

Description

@sebmarkbage

Enumerating over the keys of an object currently invokes all getters on that object. Which can cause all kinds of issues. We should use getOwnPropertyDescriptor here instead. If it's a getter we should wait to invoke it until explicit told to. Chrome has a little (...) UI that you can click to invoke the getter.

That makes it safer to browse around while debugging an issue without having to worry about state changing and therefore changing the thing you're trying to debug.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions