#using react query

1 messages · Page 1 of 1 (latest)

willow flare
#

Hello, I reading this doc here https://tkdodo.eu/blog/react-query-meets-react-router and implementing such solution. It´s not working as I expected. While in action, I make use of clientQuery.invalidateQueries. I see it is working thru debbuing, as queryClient cache gets erased, but I don´t see the fetch from loader on the network tab and the data still the same in the table. Any advice to test and check what is happening ? I´m working with React Router, no Remix

React Query and React Router are a match made in heaven.

ancient forge
#

the loader already does the job of react query, remix is react router based, loader is automatically re-fetched after an action triggered

willow flare
#

But I need rect query cache. I try use the browser cache, but some setting in the project is preventing it to work

lusty palm