Course lesson
We'll define a custom update function to run when the addBookmark mutation finishes to add the bookmark in the bookmarks list.
We'll define a custom update function to run when the addBookmark mutation finishes to add the bookmark in the bookmarks list.
Resources:
Checkpoint: Update cache after mutation
Course lesson
We'll define a custom update function to run when the addBookmark mutation finishes to add the bookmark in the bookmarks list.