Skip to content

Idea: Make it possible to deep watch an object #27

@mattzeunert

Description

@mattzeunert
var obj = {
    hello: {
        world: {
            cake: 5
        }
    }
}
debugDeepPropertyAccess(obj, "hello");
obj.hello.world.cake = 8; // hits breakpoint

Would have to go through it recursively... And if new keys are added I think I'd have to use Proxy objects.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions