Lightwaves
CCConvex Community
•Created by Lightwaves on 9/17/2024 in #general
calling mutations in setInterval or setTimeout
thanks
5 replies
CCConvex Community
•Created by Lightwaves on 9/17/2024 in #general
calling mutations in setInterval or setTimeout
I see, that makes sense
5 replies
CCConvex Community
•Created by Lightwaves on 8/23/2024 in #general
Modifying a query result on the client
I thought you had to do something special to do this, not that it did it as a default
12 replies
CCConvex Community
•Created by Lightwaves on 8/23/2024 in #general
Modifying a query result on the client
12 replies
CCConvex Community
•Created by Lightwaves on 8/23/2024 in #general
Modifying a query result on the client
I think I misread the docs
12 replies
CCConvex Community
•Created by Lightwaves on 8/23/2024 in #general
Modifying a query result on the client
my bad
12 replies
CCConvex Community
•Created by Lightwaves on 8/23/2024 in #general
Modifying a query result on the client
I guess that is so
12 replies
CCConvex Community
•Created by Lightwaves on 8/23/2024 in #general
Modifying a query result on the client
Or wait maybe im just misunderstanding how this works and "myvar" magically updates if I run a mutation
12 replies
CCConvex Community
•Created by Lightwaves on 8/23/2024 in #general
Modifying a query result on the client
I'm querying a document.
The page it's on displays the content of an array of objects in the document
This page also lets you add something to that array. Usually I would either change the doc in the db and re-query the document to update the value or change the document in the db and update the frontend value with whatever was supposed to be added to the db.
basically i want to change the value of
myvar
at some point, but i need it to be a state variable to do that, so what's the better way of making a query result a state variable12 replies