Skip to content

Object.defineProperty should trigger reactions #44

Open
@robinplace

Description

@robinplace

Setting a new value or a new get function using Object.defineProperty should trigger reactions on the relevant key. This should support reacting to both modifying existing keys of and adding new keys to an object.

This would require adding a new Proxy trap and writing tests for the new behavior.

I'm willing and able to help put together a pull request.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions