Skip to content

Non-enumerable properties are not observable #30

@aleclarson

Description

@aleclarson
const data = o({})
Object.defineProperty(data, 'a', { value: 1 })

auto(() => console.log('a =', data.a))

// Change is not observed.
data.a = 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    limitationDesign limitations (or JavaScript itself) are to blame

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions