Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Store - Guide needs an update #1465

Open
Theosaurus-Rex opened this issue Jan 29, 2023 · 1 comment
Open

Updating Store - Guide needs an update #1465

Theosaurus-Rex opened this issue Jan 29, 2023 · 1 comment

Comments

@Theosaurus-Rex
Copy link

I'm not really sure how to articulate what's going on here, since I'm using this to learn how GraphQL works.

I'm working through the section "More Mutations and Updating the Store" in the React + Apollo walkthrough. I implemented the mutation to vote on a link, and then the instructions say "We can now go and test the implementation! Run yarn start in hackernews-react-apollo and click the upvote button on a link. You’re not getting any UI feedback yet, but after refreshing the page we’ll see the added votes"

Upon testing it at this step however, the UI DOES update in realtime!

I apologise that I'm not knowledgeable enough to understand why this might be the case - I assume it's something to do with an update to Apollo, as it seems like the next section about updating the cache is a moot point in the context of this exercise.

@nazarepiedady
Copy link

@Theosaurus-Rex it is recommended to learn using the exact version of dependencies used in the tutorials because this way it is easier to learn without having to deal with weird warnings or errors caused by updated versions on the legacy codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants