You can use fetch , axios , even GraphQL. As long as your function asynchronously returns your data, useSWR is happy. A call to useSWR returns the following ...
確定! 回上一頁