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 e6707c1e4a
commit d5123c793a
5 changed files with 138 additions and 7 deletions

15
pnpm-lock.yaml generated
View File

@@ -85,6 +85,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.19
'@vue/test-utils': ^1.2.2
>>>>>>> ecdc7919 (fix: queries not waiting for authentication)
@@ -170,7 +171,11 @@ importers:
'@nuxtjs/toast': 3.3.1
'@urql/core': 2.3.3_graphql@15.6.0
'@urql/exchange-auth': 0.1.6_graphql@15.6.0
<<<<<<< HEAD
>>>>>>> ecdc7919 (fix: queries not waiting for authentication)
=======
'@urql/exchange-graphcache': 4.3.5_graphql@15.6.0
>>>>>>> 96cf7746 (feat: add persistent cache and optimistic updates)
acorn: 8.5.0
acorn-walk: 8.2.0
axios: 0.22.0
@@ -5995,6 +6000,16 @@ packages:
wonka: 4.0.15
dev: false
/@urql/exchange-graphcache/4.3.5_graphql@15.6.0:
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.6.0
graphql: 15.6.0
wonka: 4.0.15
dev: false
/@vue/babel-helper-vue-jsx-merge-props/1.2.1:
resolution:
{