Inactive query is not garbage collected when a useSuspenseQuery is made inactive while in fetching state #8159
Send to my agentcirex-web(GitHub profile, opens in a new tab) changed the title
cirex-web(GitHub profile, opens in a new tab) changed the title
TkDodo added labelssuspense
TkDodo added labelspackage: react-query
TkDodo closed this
Sign in to join this conversation.
Thanks for reporting this. It’s worth noticing that it works fine with
useQuery, but not withuseSuspenseQuery. I think we’re “missing” to fire the gcTimer somewhere 🙈