There're 2 ways to invalidate the fetcher. The easiest way is to include the token in the key array: useSWR([url, token], (url, ...
確定! 回上一頁