SolidJSS
SolidJSโ€ข10mo agoโ€ข
1 reply
crescent404

Solid.js + tanstack/solid-query multiple refetch problem on error

Hi all, I'm using tanstack for client-server communication. And I'm turning the hook to createMemo if I want it to be re-mounted when I change query-params. But, for some reason, if such a hook receives an error from the server, it mounts infinitely many times. How to solve this problem?
Screenshot_2168.png
photo_2025-04-01_14-24-28.jpg
Was this page helpful?