Skip to content

Best pattern to re-execute queries, e.g. to do something on server every time I need #1290

Answered by JoviDeCroock
frederikhors asked this question in Q&A
Discussion options

You must be logged in to vote

Well if you always want it to go to the server it's best to use a mutation as you can leverage queries to be cached, .... this kind off feels like triggering a side-effect so for me personally I'd gravitate towards a mutation

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JoviDeCroock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants