January 2019
Intermediate to advanced
460 pages
10h 33m
English
After running the addPost mutation, the request goes through to the server and saves the new post in our database without any problems. However, we still cannot see the changes take effect in the front end immediately.
In this introduction to direct cache access and refetching, we will focus on the new standard Query and Mutation components. If you, like me, prefer HoCs, there are many tutorials that cover how to update the UI when using HoCs.
There are two different ways to update the UI after a mutation:
Read now
Unlock full access