Skip to content

Commit

Permalink
fix: minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki authored Oct 23, 2019
1 parent 755b94c commit a7c785e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@ class App extends Component {
## Using Synchronous Storage API
`persistCache` interface is asynchronous to conform many production ready storage interfaces
`persistCache` method is asynchronous to conform to production ready storage interfaces
which offer only asynchronous API.
Library offers alternative `persistCacheSync` api that should be used only with small cache sizes and synchronous storage provider (e.g. window.localStorage). `persistCacheSync` is best suited for demo applications because it blocks UI rendering until the cache is restored.
Apollo-cache-persist offers alternative `persistCacheSync` method that should be used only with small cache sizes and synchronous storage provider (e.g. window.localStorage). `persistCacheSync` is best suited for demo applications because it blocks UI rendering until the cache is restored.
```js
import { InMemoryCache } from 'apollo-cache-inmemory';
Expand Down

0 comments on commit a7c785e

Please sign in to comment.