useQuery doesn't reload data after reset from error boundary
I have an error boundary using the help of
My page has multiple tabs, and when this happens, even switching tabs shows no data in all of them even though I've passed
error.tsx in Next.js, and when my useQuery fails with an error, it falls back to this component. But when I hit reset, internally calling reset() on the error component, it goes back to the same page and shows the page I render when there's no data.My page has multiple tabs, and when this happens, even switching tabs shows no data in all of them even though I've passed
tab in the queryKey. In one of the tabs I have a <select>, when I change the choice in that, it does reload; and once that gets data, I start getting data everywhere else too. What? why?