'Where to store the react query cache
Hello to everyone who knows where to store the react query cache ?.Is it possible to decide for yourself where the react query should store the cache ?
Solution 1:[1]
react-query stores the cache in-memory. If you want to additionally sync the storage somewhere else, have a look at the persistQueryClient plugin.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | TkDodo |
