-
主要记录学习useRequest
-
## Problem
```
useEffect(() => {
if (state.isSaving) {
mutate();
}
}, [state.isSaving, mutate]);
```
I'm using this to trigger a mutate for the current key model.
Since i'…
-
I'm opening this issue to clarify the support status of the `fetch` client.
# Description
I added a new `fetch` client.
Becouse, since the `fetch` API is mature, it has the advantage of reducin…
-
```
[INFO] 23/04/2024 08:47:32 +02:00 WFRAMPB002 Microsoft-Windows-Security-Auditing Warning 4625 Echec de connexion Nom du compte : villakl-adm Raison de l’échec : %%2313 depuis Adresse du rése…
-
A configuration like this:
```ts
routeRules: {
"/*": { swr: 3600 },
"/api/test": { swr: false },
},
```
Will still use a _cache_ strategy for `/api/test` as `swr` is…
-
I am an environmentally conscious arable/dairy farmer that wants to improve soil health. Besides the fact that I want to contribute to a better world, I’m convinced that this will eventually increase …
-
# How Does SWR Work? | Emon Hossain
Emon Hossain's personal portfolio website
[http://localhost:3000/blog/how-does-swr-work](http://localhost:3000/blog/how-does-swr-work)
-
# React Hook SWR | spacetraveling
[http://localhost:3000/post/react-hook-swr](http://localhost:3000/post/react-hook-swr)
-
@umijs/max 内置了插件方案。它基于 [axios](https://axios-http.com/) 和 [ahooks](https://ahooks-v2.surge.sh/) 的 useRequest 提供了一套统一的网络请求和错误处理方案。
-
# undefined
[http://localhost:3000/post/react-hook-swr](http://localhost:3000/post/react-hook-swr)