Apollo Client Working with Cache

  • use Apollo Client devtools in Chrome to view the state of cache
  • saves responses of queries to cache
  • if response to query is already in cache, query is not sent to server to optiminze performance
  • client does not auto update cache
  • use refetchQueries parameters in [UseMutation] hook to keep cache in sync