Skip to content

addHiddenProp should use 'defineProperty' from 'mobx' #302

@SpringNyan

Description

@SpringNyan

When useProxies is set to "ifavailable", createTransformer may throw error in some use cases (see repro). This issue should be related to mobxjs/mobx#2876

Repro: https://codesandbox.io/s/mobx-defineproperty-forked-q4q6k?file=/src/index.ts

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