Suspense sometimes not resolving
Hi there,
I've got a bit of a strange issue which I believe is a bug in solid-query. I've got a reproduction here https://stackblitz.com/edit/solidjs-templates-al24pp?file=src%2FApp.tsx
When typing into the input slowly everything works correctly, however spamming keys quickly can sometimes cause it to get stuck in a loading state. I believe it might be a race condition somewhere, as my demo doesn't actually reproduce it quite as reliably as the app I extracted it from.
If I switch to using
Happy to report on GitHub if it really does seem like a bug, but I wanted to check that I wasn't doing anything silly in my own code first. Thanks!
I've got a bit of a strange issue which I believe is a bug in solid-query. I've got a reproduction here https://stackblitz.com/edit/solidjs-templates-al24pp?file=src%2FApp.tsx
When typing into the input slowly everything works correctly, however spamming keys quickly can sometimes cause it to get stuck in a loading state. I believe it might be a race condition somewhere, as my demo doesn't actually reproduce it quite as reliably as the app I extracted it from.
If I switch to using
createResource directly then I can't reproduce the issue which is why I think it might be a solid-query bug: https://stackblitz.com/edit/solidjs-templates-n3phg5?file=src%2FApp.tsxHappy to report on GitHub if it really does seem like a bug, but I wanted to check that I wasn't doing anything silly in my own code first. Thanks!