First of all, we need to create the fetcher we will pass to SWR, this function must return a Promise resolved to the data we want SWR to cache.
確定! 回上一頁