What is the cost of recreating the query each time using $: instead of derived stores using Svelte? #6673
Unanswered
frederikhors
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today we have Svelte docs saying that we should use the below code for reactivity:
What I'm actually using is the below instead:
which works but of course recreate the entire query every time the variable
intervalMs
changes.What is the cost of recreating the query each time?
I ask this because the alternative way (the use of
derived
) is really inconvenient to write since there can be so many variables that could change.Beta Was this translation helpful? Give feedback.
All reactions