Type 'QueryClient' is not assignable to
Type 'QueryClient' is not assignable to type 'QueryClientConfig | QueryClient | undefined'.
3 Replies
flat-fuchsia•5mo ago
Hey @David, are you using
options.reactQuery.clientConfig
to pass your instance of queryClient
? Do you have any issues in the runtime if you supress the error with as any
or something?
Can you share a reproducible example with deps and configuration etc.?ambitious-aqua•5mo ago
Thanks for the feedback. I deleted the node_modules folder and reinstalled the packages. After that it stopped giving errors. But if you could help me, I would be very grateful.
I need to sync all my table states, pagination, filters and search form. I dont want to use a tradition filter inside collumn, I'm using a drawer to show all the fields. Because of this I'm trying to sync and persist the table states.
Could you help me with this question?
I'm migrating my personal project to refine and trying to implementing this functionality
flat-fuchsia•5mo ago
Its working with query params but does syncWithLocation work for you? It will sync the pagination, sorters and filters for you and store them in URL