Skip to content

[Bug]: VUE3 run storybook case will causes the warning to enter an infinite loop: #34506

@jayxiaolei

Description

@jayxiaolei

Describe the bug

the warning is :
tester-BYDMHqQ9.js:1815 Property "$$typeof" was accessed during render but is not defined on instance.

The cause of this issue is that I requested an API in a VUE component to assign a reactive data value to it, and then this warning occurred. I analyzed the reason: It is because Storybook uses $$typeof to detect whether the node is React, but VUE does not have this attribute. Then the error was reported to Vitest. Vitest tried to print this error, and when printing, it serialized this data and continued to read this proxy data, which led to Storybook again using $$typeof for detection, forming a deadlock loop. Does this problem have a solution at present?

Reproduction link

no

Reproduction steps

No response

System

I have upgraded to the latest version.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions