Skip to content

JSON.stringify on computed gives error about cyclic value #5426

@henribru

Description

@henribru

Version

3.2.31

Reproduction link

sfc.vuejs.org/

Steps to reproduce

Call JSON.stringify on any computed (without .value)

What is expected?

Not actually sure if this should be expected to work or not ...

What is actually happening?

You get "TypeError: cyclic object value" (Firefox)/"TypeError: Converting circular structure to JSON" (Chrome)


Seems similar to #1916, but affects recent Chrome/Firefox on PC

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