Cliff7mo ago

Help with queries vs mutations

super basic question here from a newb to trpc...i see the calls are basically split into two type, queries and mutations. If I were to build a simple chat app, would posting a comment be a mutation? What if the data was ephemeral, like, I wasn't storing it, just passing it. Or if I was sending a parameter to the server and the server just used that parameter to look upo data from a third party service and return the results...that is still just a query, right? Even if the client was storing a 'history' of requests?
0 Replies
No replies yetBe the first to reply to this messageJoin