T
TanStack15mo ago
plain-purple

External devtool cannot update component

Hey guys, I'm using the external devtool from this repo: https://github.com/LovesWorking/react-query-external-sync/ But at the moment I have both the debugger and a query on my app, it throw me the error:
Warning: Cannot update a component (`QueryClientDebugger`) while rendering a different component (`Tab1`). To locate the bad setState() call inside `Tab1`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render
Warning: Cannot update a component (`QueryClientDebugger`) while rendering a different component (`Tab1`). To locate the bad setState() call inside `Tab1`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render
And refer to my useQuery method as error. I'm on the last tanstack/query release, and can't find any up to date fix for this issue. Do you have at least any hint on where should I look to fix this ? I'm still new with react-query and don't know what could trigger this error inside the lib. Thanks !
GitHub
GitHub - LovesWorking/react-query-external-sync: A tool that can be...
A tool that can be used by anyone to manage React Query state externally. Works with React, React Native with a familiar UI to the React Query Dev Tools. - LovesWorking/react-query-external-sync
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?