-
-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Reproduction:
- Go to: https://codesandbox.io/s/patient-wave-kwyg2v?file=/pages/index.vue
- Open the vue-query dev tools
- Click
["todos"] - Notice error on page
In chrome, the error is:
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Object'
| property '__ob__' -> object with constructor 'Observer'
--- property 'value' closes the circle
In firefox:
TypeError: cyclic object value
The only change I made was the third line:
await fetch("https://jsonplaceholder.typicode.com/todos")
.then((response) => response.json())
// The only change
.then((it) => ({ value: it }))I noticed this issue because a response had a value key.
As a side note, this sandbox also shows the error from #101.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working