By default, ApolloClient's state is persisted following every cache operation.
This symbol is used to specify if the apollo client's state should not be persisted following a specific operation.
Apollo Client's state will not be persisted if it is set to true as shown in this following example.
inMemoryStore.write({ // Since this is true, the cache will not be persisted as part of this cache operation. [shouldNotPersistSymbol]:true, query:gql('query { currentUser: { id } }'), result: { currentUser: { id :2 } } })
By default, ApolloClient's state is persisted following every cache operation.
This symbol is used to specify if the apollo client's state should not be persisted following a specific operation. Apollo Client's state will not be persisted if it is set to true as shown in this following example.