const { data, error } = useSWR(key, fetcher). This is the very fundamental API of SWR. The fetcher here ... Or using GraphQL with libs like graphql-request:.
確定! 回上一頁