feat: add idb persister to cache requests for 24 hours

This commit is contained in:
2024-04-20 22:58:26 +02:00
parent 730090ca9e
commit 04ec9f21cf
5 changed files with 69 additions and 8 deletions

View File

@@ -11,6 +11,8 @@
},
"dependencies": {
"@tanstack/react-query": "^5.29.2",
"@tanstack/react-query-persist-client": "^5.29.2",
"idb-keyval": "^6.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3"