Type 'QueryClient' is not assignable to

Type 'QueryClient' is not assignable to type 'QueryClientConfig | QueryClient | undefined'.
other-emerald
other-emerald25d 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.?
other-emerald
other-emerald24d 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
other-emerald
other-emerald24d 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
More Posts
how to set a filter to a table based on a value that is from another tableI am developing an application using refine and supabase. I have a table called OrderProduct which ihow to set custom url for antd useForm hookconst { id } = useParsed(); const { formProps, saveButtonProps, queryResult } = useForm(); I have tModule under ModuleOkay so i am using refine+anyd+supabase, i am making project module and under my project module i haHi,Hi, Does anyone know why the list views does not have resizeable columns? I want to enable colum redatagrid resizeable columHi, How can I enable resizing colum in list view?Notification provider customization with toast syntax error.copied straight from the documentation. i get an error in this file. 11 │ progress: undoExample with NX, Vite, React Router & Chakra UIHi! I'd like to start building our company's new CRM with Refine within an NX monorepo . I've tried How do I list items and open the modal from the edit page?How do I list items and open the modal from the edit page?how to create boilerplate with tailwindcss & reactqueryI wanna know how to integrate refine nextjs with tailwindcss and react query, but i dont see the optHow to prevent table from refreshing when clicking on edit button with usego?How to prevent table from refreshing when clicking on edit button with usego?How can i transform "tableProps" when using "useEditableTable" hook with antdI have the following hook definition: ``` const { tableProps, formProps, isEditing, Data errori have this mutation mutate( { resource: `/${API_ROUTES.USERS.USERLIST}/${id}`, use multiple Data providers withuse multiple Data providers with different domain routes. Then use dataProviderName on the hooks to Antd form won't render DatePickerI have a component that's an ant design form with various form fields. But whenever I add a <DatePi