-
I'm trying to use "Query Object" instead parameters in my query:
and I use it like this:
While it was unbelievable |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
please provide a codesandbox example, because this is pretty much what |
Beta Was this translation helpful? Give feedback.
-
it is not. so if you extract
|
Beta Was this translation helpful? Give feedback.
it is not.
placeholderData
runs throughselect
, just like data returned from yourqueryFn
- so whatever you put intoplaceholderData
must have the same structure. TypeScript would catch something like this.so if you extract
data.data
inselect
, it means that yourplaceholderData
must also look like that: