Skip to content

Commit d3b59cd

Browse files
committed
typos
1 parent 30ac754 commit d3b59cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pg-todo-tutorial_section-3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ Seems very much the same!
552552
553553
Now try opening another browser window(or with grpahiql) and making some modifications to the list. You magically get changes in both windows at once.
554554
555-
But aren't we waiting on the round trip to the server and back for our local updates? We are. We can in fact leave out local cache modifcations in place and we pay the penalty of an extra update when we recieve the subscription data, which is a relatively small price to pay. The official way to deal with this is via "live queries" but for now I will just point you to a concise explanation about the topic and the nature of graphql subscriptions on github [here][gh-apollo] and [here][gh-urql].
555+
But aren't we waiting on the round trip to the server and back for our local updates? We are. We can in fact leave out local cache modifcations in place and we pay the penalty of an extra update when we recieve the subscription data, which is a relatively small price to pay. The official way to deal with this is via "live queries" but for now I will just point you to a concise explanation about the topic and the nature of graphql subscriptions on github [here][gh-apollo] and [here][gh-urql]. We can of course just filter out the updates that have been applied locally. We are doing a little extra work but no rerendering is neccesary.
556556
557557
[gh-apollo]: https://github.com/apollographql/apollo-client/issues/5267
558558
[gh-urql]: https://github.com/FormidableLabs/urql/discussions/1423

0 commit comments

Comments
 (0)