Closed derolf closed 11 months ago
Clicking quickly on "increment" in https://stackblitz.com/edit/vitejs-vite-69hjfc?file=src%2Fcounter.tsx makes the Suspense leak.
I assume that useResource does not "drop" a promise that is outdated.
Example: https://gist.github.com/derolf/77dfbd21ac6804537c4927590af16aad#file-observablefrompromise-ts-L25
Fixed in latest
Clicking quickly on "increment" in https://stackblitz.com/edit/vitejs-vite-69hjfc?file=src%2Fcounter.tsx makes the Suspense leak.
I assume that useResource does not "drop" a promise that is outdated.
Example: https://gist.github.com/derolf/77dfbd21ac6804537c4927590af16aad#file-observablefrompromise-ts-L25