You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ONLY within StrictMode and having @stream or @defer (normal queries without them work all the time) the hook shows the warning and in place of suspend, it allows the code to continue running and breaking. Important: IT WORKS when the component is mounted, it is later on when we unmount/remount that IT FAILS.
It is somehow related to the cache, when it expires this throws the error. See for example these 2 scenarios:
Can we quickly check one thing - if this is related to the GC. Can you try adding store.holdGC() just after you've created an instance of the store and see if the issue is there?
Can we quickly check one thing - if this is related to the GC. Can you try adding store.holdGC() just after you've created an instance of the store and see if the issue is there?
Using the same store config that above but adding store.holdGC(); there is NO ERROR, of course when the component is unmounted/remounted always shows the cached data.
ONLY within
StrictMode
and having @stream or @defer (normal queries without them work all the time) the hook shows the warning and in place of suspend, it allows the code to continue running and breaking. Important: IT WORKS when the component is mounted, it is later on when we unmount/remount that IT FAILS.It is somehow related to the cache, when it expires this throws the error. See for example these 2 scenarios:
What is clear, that the hook (as I do understand) should suspend or return cached data, but this is showing a bug:
The text was updated successfully, but these errors were encountered: