@@ -30,11 +30,11 @@ of the 'write' trigger on web, we've omitted a 'background' trigger on web.
3030resolve once the cache has been restored, which you can await before rendering
3131your app.
3232
33- This library, like Apollo Client, is framework agnostic; however, since many
33+ This library, like Apollo Client, is framework- agnostic; however, since many
3434people have asked, here's an example of how to handle this in React. PRs with
3535examples from other frameworks are welcome.
3636
37- You can find all examples in the [ examples] ( ./examples/ ) directory.
37+ You can find all examples in the [ examples] ( ./../examples ) directory.
3838
3939## React Using Hooks
4040
@@ -110,8 +110,7 @@ details.
110110Other alternatives have been recommended in
111111[ #2 ] ( https://github.com/apollographql/apollo3-cache-persist/issues/2#issuecomment-350823835 ) ,
112112including using logic in your UI to filter potentially-outdated information.
113- Furthermore, the [ ` maxSize ` option] ( #additional-options ) and
114- [ methods on ` CachePersistor ` ] ( #using-cachepersistor ) provide facilities to
113+ Furthermore, the ` maxSize ` option and methods on ` CachePersistor ` provide facilities to
115114manage the growth of the cache.
116115
117116For total control over the cache contents, you can setup a background task to
@@ -126,11 +125,11 @@ benefit of ensuring the cache is loaded with fresh data when your app launches.
126125
127126For the same reasons given in the preceding answer, it's not possible to migrate
128127or transform your persisted cache data. However, by using the
129- [ methods on ` CachePersistor ` ] ( #using-cachepersistor ) , it's simple to reset the
128+ methods on ` CachePersistor ` , it's simple to reset the
130129cache upon changes to the schema.
131130
132131Simply instantiate a ` CachePersistor ` and only call ` restore() ` if the app's
133- schema hasn't change . (You'll need to track your schema version yourself.)
132+ schema hasn't changed . (You'll need to track your schema version yourself.)
134133
135134Here's an example of how this could look:
136135
0 commit comments