wyliga
CCConvex Community
•Created by wyliga on 3/13/2023 in #general
Hey I m a long time Firebase dev I ve
I'll try to get a prototype of the app up and running with Convex and I'll let you know my experience.
14 replies
CCConvex Community
•Created by wyliga on 3/13/2023 in #general
Hey I m a long time Firebase dev I ve
Good to know, thank you very much
14 replies
CCConvex Community
•Created by ballingt on 3/13/2023 in #general
Local caching
I have a somewhat unrelated question about the shape of Documents. Is it best asked here or do you prefer to start a new thread?
18 replies
CCConvex Community
•Created by ballingt on 3/13/2023 in #general
Local caching
Both questions were highly related.
18 replies
CCConvex Community
•Created by ballingt on 3/13/2023 in #general
Local caching
No no, all this helps a lot in how to think about Convex and what it's doing
18 replies
CCConvex Community
•Created by ballingt on 3/13/2023 in #general
Local caching
It makes my work easier!
18 replies
CCConvex Community
•Created by ballingt on 3/13/2023 in #general
Local caching
That's really cool.
18 replies
CCConvex Community
•Created by ballingt on 3/13/2023 in #general
Local caching
Okay, yeah, I think that answers my question. So if two different children of the ConvexProvider use the exact same query, Convex isn't doing two different network calls under the hood. It's doing 1 network call for the first child, and stores a local cache for the second. -- is that understanding correct?
18 replies
CCConvex Community
•Created by wyliga on 3/13/2023 in #general
Hey I m a long time Firebase dev I ve
--- or perhaps 2. One for the mutation and one for the initial query. All other users are served cached data. Am I understanding that correctly?
14 replies
CCConvex Community
•Created by wyliga on 3/13/2023 in #general
Hey I m a long time Firebase dev I ve
Or if 1000 users are subscribed, and the data mutates, only one function call?
14 replies
CCConvex Community
•Created by wyliga on 3/13/2023 in #general
Hey I m a long time Firebase dev I ve
So, for example if two users are subscribed to the same data source; and there's a mutation. Only one function call is charged, but both users get the updated data. Correct?
14 replies
CCConvex Community
•Created by wyliga on 3/13/2023 in #general
Hey I m a long time Firebase dev I ve
Thank you for the references. I read both those articles before posting and I still don't know the answer to the question.
14 replies