Open DennisDv24 opened 2 months ago
My front-end dev told me the useQuery generated code doesnt work with tanstack v4, as it should be of the form
useQuery
useQuery({ queryKey: [...], queryFn: () => {}, ...options })
instead of:
useQuery(queryKey, queryFn?, {...options})
It looks like my fix works for my use case, but i havent run any tests nor checked if this breaks any kind of compatibility or integration.
My front-end dev told me the
useQuery
generated code doesnt work with tanstack v4, as it should be of the forminstead of:
It looks like my fix works for my use case, but i havent run any tests nor checked if this breaks any kind of compatibility or integration.