Skip to content
Source
Sign inSign up
TanStack/db

`preload` after `cleanup` on a collection hangs forever #1576

Send to my agent
Closedwillbowdler-cc(GitHub profile, opens in a new tab) opened this issue 0 comments
  • I've validated the bug against the latest version of DB packages

Describe the bug A clear and concise description of what the bug is.

When I call cleanup on a collection, and then do a preload on that collection before refreshing the page, then the preload hangs forever if I await it

To Reproduce Steps to reproduce the behavior: see above

Expected behavior A clear and concise description of what you expected to happen.

I expect preload to resolve and load the data after the cleanup. Our use case is switching profiles if you are curious

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A Additional context Add any other context about the problem here.

Sign in to join this conversation.