Quiz on Client Optimistic UI in React
Let's test your knowledge now!
Quiz
1
Why is there only one Mutation component needed for the updateSubscription instead of two which were needed for the Star/Unstar feature?
A)
Because the GitHub’s GraphQL API has no dedicated mutations for the Star and Unstar mutations.
B)
Because it is only possible to watch a repository but not to unwatch it.
C)
Because the Watch mutation has an additional argument to toggle the subscription.
D)
Because the Watch mutation toggles the subscription in the backend without the client providing information.
Question 1 of 40 attempted
Get hands-on with 1400+ tech skills courses.