Global routing lag after load a store with a big result from useQuery returned in dev mode #3064
Unanswered
NamesMT
asked this question in
Help and Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Reproduction
.
Steps to reproduce the bug
Creates a store where you would return a relatively big amount of data directly from a
useQueryExpected behavior
Should work like normally and won't affect global routing performance, because, why would it?
Actual behavior
After the above store is loaded, even when the component which uses it is unmounted, routing globally is laggy with an extra ~1s delay.
Additional information
Not sure where should I create the issue, dumping it here first, and btw, by simply wrapping the return in an additional
computed, the lag is fixed:Beta Was this translation helpful? Give feedback.
All reactions