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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've a question similar to #530 but with specific focus on Svelte.
Let's assume I've the blow query:
Now, I can access the returned data in my component via
$query.data
. So far, so good.But now I want to edit this data via input forms using Svelte Component bindings like this:
Here Svelte starts complaining, because
$query
is a readable store and therefore lacks a$query.set
function.So my question is, what is the best way to edit query data in Svelte (with or without Component bindings)?
Using svelte
v3.54.0
and tanstack/svelte-queryv4.29.11
.Beta Was this translation helpful? Give feedback.
All reactions