Replies: 1 comment 1 reply
-
|
I don’t think you’re supposed to directly modify data like that. We have |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I'm trying to mock some data because the type for data is Ref, but according to the warning is a redonly one?
https://vuejs.org/api/reactivity-core#readonly
Your minimal, reproducible example
Explained in description
Steps to reproduce
Explained in description
Expected behavior
Being able to modify data or change the type of it
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Tanstack Query adapter
vue-query
TanStack Query version
5.92.7
TypeScript version
5.9.3
Additional context
vue - 3.5.26
Beta Was this translation helpful? Give feedback.
All reactions