feat: add persistent cache and optimistic updates

This commit is contained in:
Andrew Bastin
2021-10-05 02:09:39 +05:30
committed by liyasthomas
parent 2761894164
commit a840079119
5 changed files with 135 additions and 7 deletions

12
pnpm-lock.yaml generated
View File

@@ -50,6 +50,7 @@ importers:
'@urql/core': ^2.3.3
'@urql/devtools': ^2.0.3
'@urql/exchange-auth': ^0.1.6
'@urql/exchange-graphcache': ^4.3.5
'@vue/runtime-dom': ^3.2.20
'@vue/test-utils': ^1.2.2
acorn: ^8.5.0
@@ -125,6 +126,7 @@ importers:
'@nuxtjs/toast': 3.3.1
'@urql/core': 2.3.3_graphql@15.7.2
'@urql/exchange-auth': 0.1.6_graphql@15.7.2
'@urql/exchange-graphcache': 4.3.5_graphql@15.7.2
acorn: 8.5.0
acorn-walk: 8.2.0
axios: 0.24.0
@@ -4704,6 +4706,16 @@ packages:
wonka: 4.0.15
dev: false
/@urql/exchange-graphcache/4.3.5_graphql@15.7.2:
resolution: {integrity: sha512-q5/CzNtSxd5fW/YZ94KABmtQ34XliyS+KKKhyJ+/y66D7mYrN/ZEiuKTlnB7FTt9GLZ0yRtgIfXjwoGicB/Tlw==}
peerDependencies:
graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0
dependencies:
'@urql/core': 2.3.3_graphql@15.7.2
graphql: 15.7.2
wonka: 4.0.15
dev: false
/@vue/babel-helper-vue-jsx-merge-props/1.2.1:
resolution: {integrity: sha512-QOi5OW45e2R20VygMSNhyQHvpdUwQZqGPc748JLGCYEy+yp8fNFNdbNIGAgZmi9e+2JHPd6i6idRuqivyicIkA==}
dev: false