TQ cache isn't working in existing project
Hi, I'm new here and enjoying Refine so far, but there's an issue with Tanstack Query not caching. This is in an existing project that also uses Apollo, not sure if that's a conflict.
I've implemented a data provider with
I tried and Tanstack's
My goal is to see if I can have getList auto-trigger after update, which would reduce a tone of manual refetch code.
Am I missing something in my setup? Thanks in advance,
- MG
I've implemented a data provider with
getList and have made a useList call, but logging queryClient.getQueryCache().getAll().length returns 0 repeatedly.I tried and Tanstack's
useQuery does populate the cache correctly, but I'd like to get Refine working. My goal is to see if I can have getList auto-trigger after update, which would reduce a tone of manual refetch code.
Am I missing something in my setup? Thanks in advance,
- MG
