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

Template component instance has broken property access #12

@medikoo

Description

@medikoo

Access of any core property (as hasOwnProperty) or not existing property returns a method as generated by createCustomMethodHandler

Screenshot 2019-10-28 at 12 44 03

This may turn nasty, when we pass such object to any generic util, or if any developer decides to handle it in some outer module.

It's caused by optimistic Proxy setup:

return createCustomMethodHandler(obj, prop)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions