Skip to content

When using proxyRefs, the internal variable "composition-api.refKey'" is exposed on the object itself #817

Closed
@edwardnyc

Description

@edwardnyc
const obj = {
  a: ref(1)
};
const data = proxyRefs(obj);

console.log(Object.keys(data));  // The output will contain the "composition-api.refKey" attribute

console.log({ ...data });

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