反应 SWR 或查询在哪里保存他的数据以及我在哪里可以看到它?

where react SWR or query save his data and where I can see it?

我知道它保存在缓存中,但我找不到它,也找不到反应查询如何以及在何处保存他的数据 我想了解它是如何工作的以及如何查看它保存数据的位置,因为我无法在开发工具或任何其他地方看到它

我使用 SWR 并将缓存存储在 an instance of the Cache class 中。不过我没有找到在 devtools 中查看它的方法。

React query 好像用了类似的方法,我的意思是,缓存存储在一个全局变量中,但是它有his own devtools. The documentation explains how it works with more details and it even allows you to set your own cache provider.